An HTML element is everything from the start tag to the end tag
What is another name for a start tag?
Opening tag
What is another name for a end tag?
Closing tag
When are HTML elements closed in a start tag?
Empty elements are closed in the start tag
Why are HTML Documents nested?
HTML documents consist of nested HTML elements
Write the beginning tag, end tag and definition of each tag.
- p, <p></p>
- body, <body></body>
- html, <html></html>
- br, <br><br />
What could happen if you do not include the end tag.
Your content will not include
What is the proper way to close an empty XHTML and XML tag.
In XHTML, all elements must be closed. Adding a slash inside the start tag, like <br />, is the proper way of closing empty elements in XHTML (and XML)
Why are lowercase tags preferred?
W3Schools use lowercase tags because the World Wide Web Consortium (W3C) recommends lowercase in HTML 4, and demands lowercase tags in XHTML
No comments:
Post a Comment