html-syntax Flashcards
1
Q
Give five examples of HTML element types.
A
- <p> for paragraphs
</p> - </p><ul> for unordered lists
- <img></img> for images
- <h1> for main headings
</h1> - for metadata</h1></ul>
2
Q
What is the purpose of HTML attributes?
A
HTML attributes provide additional information about HTML elements.
3
Q
Give an example of an HTML entity or escape character.
A
® is used to represent the symbol for registered trademarks.