Table 2.1. HTML Tags Covered in Hour 2
Tag | Function |
|---|
<html>…</html> | Encloses the entire HTML document. |
<head>…</head> | Encloses the head of the HTML document. |
<title>…</title> | <head>. |
<body>…</body> | Encloses the body of the HTML document. |
<p>…</p> | A paragraph; skips a line between paragraphs. |
<br /> | A line break. |
<hr /> | A horizontal rule line. |
<h1>…</h1> | A first-level heading. |
<h2>…</h2> | A second-level heading. |
<h3>…</h3> | A third-level heading. |
<h4>…</h4> | A fourth-level heading (seldom used). |
<h5>…</h5> | A fifth-level heading (seldom used). |
<h6>…</h6> | A sixth-level heading (seldom used). |