Text elements Flashcards
warning
💡 HTML doesn’t really care about any white space : collapsing white space
💡 It’s important to wrap all pieces of content inside of an element that actually gives that content some meaning to help the browser.(semantic)
Headings:
the goal of headings is to break up big blocks of text into more logical sections, and to basically add a title to each of the sections. Allow to establish a hierarchy in out text
💡 each and every page should only have one h1 heading. So only one primary heading.
Some other text elements
Paragraph: kind of a generic element that we use to mark up blocks of text.
Bold and italic
List : repetition of element of same type.
- Ordered list
- Unordered list
button, sup and sub
special character