HTML Homework

Basic HTML codes and description

<html>

</html>

opens and ends section with html code.

<head>

</head>

opens and ends the header section of the page.

<title>

</title>

opens and ends the title tag on the page.

<body>

</body>

opens and ends the body tag on the page. the body tags holds what is visible on the page.

<h1>

</h1>

opens and ends the heading size tag. <h2> does the same in a bigger format and so it goes on. (2 3 4 5 6...)

<p>

</p>

opens and ends a paragraph

<br>

</br>

<br> gives a line breake. </br> dosen't do anything. it should be used in well formed html

<center>


</center>

center text between tags

<p style="color : red;">


same as pargraph but with colour