HTML Basic Tags
HTML Basic Tags
The <!DOCTYPE html> tag defines document version.
The <html> tag represents the root tag of an HTML page.
The <head> tag defines meta information about the html page.
The <title> tag specifies a title for the html page.
The <body> tag contains the visible html page content, in the body you can put other HTML tags like <P>, <h1>, <div>, <table>.
The <h1> tag represents a heading.
The <p> tag represents a paragraph.
HTML Basic Tags
<!DOCTYPE html> <html> <head>HTML Title </head> <body>Heading H1
Heading H2
HTML paragraph.
</body> </html>
Result:
Heading H1
Heading H2
HTML paragraph.