Provides General Information about the content of the page from URL
Cover HTML versions based on this reference by finding whether the HTML contains the related key or not.
Using the title
HTML tag to get the Page Title directly.
Finds all h1 to h6 HTML tags and count each of them.
Finds a
HTML tag and check if it does not contains domain, means it's a direct internal link and counts as internal links. if it contains domain and the domains is the same as requested url, it counts as internal links. otherwise it counts as external links.
if link cannot be access using HTTP GET method, returning an error or the HTTP status is not 200
. it counts as inaccessable links.
find input that has type="password"
. but login and register have the same input type for password. it finds input type="submit"
and button
HTML tag that contains words login, log in, or sign in in order to verify whether the page contains a login form or not.
cd example && go run main.go
use browser and access localhost:9000