HTML

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/48

flashcard set

Earn XP

Description and Tags

html basics

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

49 Terms

1
New cards

DOCUMENT STRUCTURE + METADATA

<!DOCTYPE html>

<html lang=”en”>

<head></head>

<meta charset=”UTF-8”>

<title></title>

</html>

2
New cards

<!DOCTYPE html>

tells the document is HTML5

3
New cards

<html lang="en">

defines the document’s language is English

4
New cards

<head></head>

contains behind the scenes info to make the document work

5
New cards

<meta charset=”UTF-8”>

acts as a translator for text content on the document

6
New cards

<title></title>

sets the browser tab title

7
New cards

</html>

ends the entire page

8
New cards

PAGE CONTENT STRUCTURE

<body></body>
<main></main>

<section></section>

9
New cards

<body></body>

 contains ALL visible & interactive content on the entire page

10
New cards

<main></main>

contains the main content in a page

11
New cards

<section></section>

groups related sections together

12
New cards

TEXT & HEADINGS

<h1></h1> to <h6></h6>

<p></p>

13
New cards

<h1></h1> to <h6></h6>

main heading to smallest heading

14
New cards

<p></p>

is the paragraph elements

15
New cards

LIST & ITEMS

<ul></ul>

<ol></ol>

<li></li>

16
New cards

<ul></ul>

unordered list

17
New cards

<li></li>

list item

18
New cards

<ol></ol>

ordered list

19
New cards

LINKS + IMAGES


<figure></figure>

<img src=" " alt=" ">

<figcaption></figcaption>

<a href="link"></a>

20
New cards

<figure></figure>

Contains visual elements

21
New cards

<img src="" alt="">

displays an image

22
New cards

Where do <figcaption></figcaption> go?

is the caption of an image

23
New cards

<a href="link"></a>

is a clickable email link

24
New cards

TEXT FORMATTING + EMPHASIS

<strong></strong>

<em></em>

25
New cards

<strong></strong>

creates Bold text for strongness

26
New cards

<em></em>

creates Italicized text for emphasis

27
New cards

PAGE SECTIONS + FOOTER

<footer></footer>

28
New cards

<footer></footer>

Contains credits to all of the visual content in the entire page

29
New cards

Where do <!DOCTYPE html> go?

Goes at the very top of the page

30
New cards

Where do <html lang="en"> go?

Goes right after <!DOCTYPE html>

31
New cards

Where do <head></head> go?

Goes inside <html lang=”en></html>

32
New cards

Where does <meta charset="UTF-8"> go?

Goes INSIDE `<head></head>

33
New cards

Where do <title></title> go?

Goes INSIDE `<head></head>

34
New cards

Where do <body></body> go?

Goes INSIDE <html lang=”en”></html>

35
New cards

Where do <main></main> go>

Goes INSIDE `<body></body>

36
New cards

Where do <section></section> go?

Goes INSIDE `<main></main>

37
New cards

Where do <h1></h1> to <h6></h6> go?

Goes INSIDE `<section></section>

38
New cards

Where go <p></p> go?

Goes INSIDE `<section></section>

39
New cards

Where do <ul></ul> go?

Goes INSIDE `<section></section>

40
New cards

Where do <li></li> go?

Goes INSIDE `<ul></ul> or <ol></ol>

41
New cards

Where do <ol></ol> go?

Goes inside <section></section>

42
New cards

Where does <figure></figure> go?

Goes inside <section></section>

43
New cards

Where do <img src= "" alt=""> go?

Goes inside <figure></figure>

44
New cards

<figcaption></figcaption>

Goes inside <figure></figure>

45
New cards

Where do <footer></footer> go?

Goes inside <body></body>

46
New cards

Where does <strong></strong> go?

Goes inside <footer></footer> or <p></p>

47
New cards

Where does <em></em> go?

Goes inside <footer></footer> or <p></p>

48
New cards

Where do <a href= " "></a> go?

Goes inside <footer></footer> or <p></p>

49
New cards

Where do </html> go?

Goes at the very bottom of the page.