The most commonly used HTML method
Answers
Transitional is the most common type of HTML while the strict type of HTML is meant to return rules to HTML and make it more reliable.
Answer:
Most commonly used tags in HTML
HTML contains lots of predefined tag. Some of them are described below:
Document structure tag:
HTML tag: It is the root of the html document which is used to specify that the document is html.
Syntax:
<html> Statements... </html>
Code:<html>
<head>
<title>Title of your web page</title>
</head>
<body>HTML web page contents </body>
</html>
Explanation:
Head tag: Head tag is used to contain all the head element in the html file. It contains the title, style, meta, … etc tag.
Syntax:
<head> Statements... </head>
Code:
<head>Contains elements describing the document</head>
Body tag: It is used to define the body of html document. It contains image, tables, lists, … etc.
Syntax:
<body> Statements... </body>
Code:
<body>The content of your HTML page</body>
Title tag: It is used to define the title of html document.