This project contains a Java class HtmlAnalyzer
that provides functionalities to analyze HTML documents.
-
Tag Matching: The
isMatchingTag
method checks if an opening tag matches with a closing tag. -
Depth Element: The
getDepthElement
method returns the HTML element with the greatest depth from a list of HTML elements.
To use this class, create an instance of HtmlAnalyzer
and call its methods with appropriate arguments.
- Java Development Kit (JDK)
- Clone the repository
- Compile the Java files
- Run the main class
There is some scripts in the scripts
folder that can be used to automate the compile and run process.