HTML & CSS Flashcards
strong
Visibly changes the wrapped text to be bold. Text will have a stronger importance than the surrounding text. Example: You must remember to turn the light off.
em
Visibly changes the wrapped text to be italicized. Demonstrates what part of the sentence is to receive emphasis. Example: What are you doing here?
b
Visibly changes the wrapped text to be bold. Does not affect the meaning of the content as the strong element does.
i
Visibly changes the wrapped text to be italicized. Does not affect the meaning of the content as the em element does.
sub
Adjusts the position of the text to be lower than the text around it. Short for subscript. Example: Carbon dioxide has a chemical formula of CO2
sup
Adjusts the position of the text to be higher than the text around it. Short for superscript. Example: Multiply your result by 103
div
container
div elements are block elements by default
span
container
span elements are inline by default.
>
specify document type
title
title
displays the info at the top bar of the page
body
body
all visible content will fall within the body
head
head
contains all metadata
& title
meta
the meta element contains any data about our page that may be nice for the browser to have, but isn’t necessary for displaying the page.
p
paragraph
h1-h6
heading tags