COMP. 9 LESSON 4 - LONG QUIZ
Non-breaking Space
HTML removes the extra spaces in our text in the HTML document. To add spaces to our text, we use the " "; character entity.
Six
How many levels of heading does HTML have?
Comment Tag
It is used to insert comment in the HTML source mode. Comments can be placed anywhere in the document but will not be displayed by the browser. "!--<Comments-->"
Paragraph Tag
This element defines a paragraph. "<p>", "</p>"
Heading Tags
Any HTML document has this. "<h1>", "</h1>"
Line Break Tag
It defines a line break and produces a new line without starting a new parag. It's an example of an empty elemnt and does not need opening and closing tag because there is nothing in between them. "<br/>"
Character Entities
Some characters are reserved in HTML, and these must be replaced with character entities. To display these, we use character entities.
Horizontal Rule Tag
The tag creates a horizontal line to divide the section of a page. "hr/"
Preformatted Tag
To rpeserve the formatting of the spaces and lines of text in the HTML document, we use this tag. "<pre>", "</pre>"