BootCamp by Dr.angela
1. HTML Heading Elements
- Tag(ex.
<h1></h1>) vs Element (ex.<h1> Book </h1>) -
<h1> ~ <h6>Use headings in order(<h1> → <h2> → <h3> → …) Avoid skipping levels (e.g.,<h1> directly to <h3>) -
<h1>= Page title (only one per page)
2. HTML Paragraph Elements
<p> </p>- Lorem Ipsum : Used for layout and design testing, Not meant to be read or understood
3. Self Closing Tags
- void element
- XTHML :
<br />, <hr />, <img />, ... - HTML5 :
<br>, <hr>, <img>, ... - Using
<br />instead of proper<p>tags can cause accessibility issues, especially for screen readers.
Top comments (0)