The format of a basic html page is:
<html> | ||
<body> | ||
Text and other content goes here... | ||
</body> | ||
</html> |
Click to see this page in your browser.
Lines of text in an html page all run together unless they are grouped into paragraphs or separated by line breaks.
A paragraph of text is indicated using the <p> tag. For example:
<p>This is a paragraph of text</p>
These lines are broken up using line breaks:<br>
<br>Unlike most html tags, there is no closing tag for the <br> tag.
A hyperlink can be used to open another page using an anchor tag.