HTML & CSS Flashcards Preview

command line > HTML & CSS > Flashcards

Flashcards in HTML & CSS Deck (16):
1

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.

2

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?

3

b

Visibly changes the wrapped text to be bold. Does not affect the meaning of the content as the strong element does.

4

i

Visibly changes the wrapped text to be italicized. Does not affect the meaning of the content as the em element does.

5

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

6

sup

Adjusts the position of the text to be higher than the text around it. Short for superscript. Example: Multiply your result by 103

7

div

container
div elements are block elements by default

8

span

container
span elements are inline by default.

9

>

specify document type

10

title

title
displays the info at the top bar of the page

11

body

body
all visible content will fall within the body

12

head

head
contains all metadata
& title

13

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.

14

p

paragraph

15

h1-h6

heading tags

16

what are the required elements of a page

!DOCTYPE html
html
head
body