More Tags in HTML
HTML More Tags
<br>
Inserts a line break.
<hr>
Defines a thematic break or horizontal line.
<b>
Defines bold text.
<i>
Defines italic text.
<u>
Defines underlined text.
<mark>
Highlights text with a yellow background.
<sup>
Defines superscripted text.
<sub>
Defines subscripted text.
<title>
Sets the title of the HTML document, shown in the browser's title bar or tab.
Empty Elements
Empty elements in HTML are typically self-closing tags and that do not contain any content between their opening and closing tags, such as <br>, and <hr>.
Step 1
Download and install the code editor 'Notepad++' and add the following code
<html>
<head>
<title>More Tags</title>
</head>
<body>
<h1>More Tags</h1>
<hr>
<p>This program is free software;<br> you can <b></b>redistribute it and/or
modify it</b> under the terms of the <i>GNU General Public License</i><br>
<br><br> as published by <u>the Free Software Foundation</u>; either version 3
of the License, or at <mark>your option any later version.</mark></p>
<hr>
A<sup>2</sup>+B<sup>2</sup>
<br><br>
H<sub>2</sub>SO<sub>4</sub>
</body>
</html>
Run Code
Then save the file in your folder
Step 2
Go to the file location and open the file in your browser
