For the page styling, we can simplify the tags below:
Tag | Description |
<html> | Defines that the page is HTML document |
<body> | Defines the script that visible |
<h1> <h2> <h3> ... <h6> | Defines the type of word headings |
<hr /> or <hr> | Defines a horizontal line |
<!--> | Defines a separator or comment |
Open your learning.html and rename it to learning.txt
Then write these:
<html>
<body>
<h1>First Heading</h1>
<br />
<hr />
<br />
<h2>Second Heading</h2>
<br />
<hr />
<br />
<h3>Third Heading</h3>
<br />
</body>
</html>
Save and close it, and rename it back from learning.txt to learning.html and see the differences for each headings and what horizontal lines looks like!