first day of html

<!DOCTYPE html> 
<html>
<head>
<meta charset="UTF-8"/>
<title>01 base tag</title>
</head>
<body>
<!--single tag
start and end together , can't nest other
-->
<!--Double tags
Start and end are separated, you can nest other
-->
<!-- newline tags, the horizontal line (split line) will automatically wrap -->
hoeing day noon, <br />
Sweat drips down the soil.
<hr />
<!--Heading Tag-->
<h1>Heading 1</h1>
<h2>Heading 2</h2>
<h3>Heading 3</h3>
<h4>Heading 4</h4>
< h5>Heading 5</h5>
<h6>Heading 6</h6>





<br />
<!---->
<p>He wants to learn H5</p>
<p>I want to learn H5 too</p>
<!--Tag nesting-->
<p>
<h1> This is the title</h1>
<hr />
<p>This is the first paragraph</p>
<p>This is the second paragraph</p>
<strong>This is bold text</strong>
<b>Look at this effect</b>
<br />
<em>This is italic text, generally used for citations</em>
</p>
<!--underline-->
<u>This is underline </u><br />
<!--strikeout-->
<del>This is a strikethrough</del>
<br />
<!--superscript-->
Fe<sup>2+</sup >
<br />
<!--下标-->
H<sub>2</sub>SO<sub>4</sub>

</body>
</html>

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325068850&siteId=291194637