html
Elements
Block-level Elements
Common block-level elements:
- <article>: article content
- <aside>: aside content
- <dialog>: dialog box
- <div>: document division
- <form>: input form
- <h1-h6>: heading levels 1-6
- <hr>: horizontal rule (dividing line)
- <li>: list item
- <main>: contains the central content unique to this document
- <nav>: contains navigation links
- <ol>: ordered list
- <p>: paragraph
- <section>: section of a webpage
- <table>: table
- <ul>: unordered list
Inline Elements
Elements are surrounded by greater and less than angle brackets, e.g. <div>
Tags are composed of both the angle brackets and element, e.g. <div>
Opening tags look like <div>
Resources
- mdn - web docs
- mdn - basic concepts of flexbox
- whatwg - html living standard
- website setup - html cheatsheet
- website setup - css cheatsheet