Search Header Logo
Semantic Tags

Semantic Tags

Assessment

Presentation

Computers

9th - 12th Grade

Hard

Created by

Kimberly Lewis

Used 107+ times

FREE Resource

13 Slides • 6 Questions

1

​Semantic Tags

2

  • Semantics replace named <div> tags

  • Names chosen based off common Ids​

The New Way

  • Everything was a <div> tag​

  • IDs added to <div> tags​

The Old Way

​The History of Semantics

3

​Why use Semantic Tags?

  • Better Search Engine Optimization (SEO)

  • Easier to organize

  • Works more effectively with content management systems (CMS)

4

<article>

  • Specifies self-contained content.

  • Good for blog posts, articles, or other large​ bodies of text

5

​<header>

  • ​Container for introductions or navigation links

  • Usually has ​one or more <h1>-<h6> elements

  • Logo/icon

  • ​Any author information

6

​<nav>

  • Only conta​ins navigation

7

<footer>

  • Information in the foot of the web page

  • Copyright

  • Site maps​

8

Multiple Choice

What is the difference between <nav> and <header>?

1

There's no difference

2

<nav> contains navigation only

3

<header> contains navigation only

4

<nav> goes above <header>

9

<main>

  • Contains the primary content of the website​

10

<section>

  • ​A group of similar content, usually with a heading

11

<figure>

  • Used to place a referenced image in an article

  • Graphs

  • Photo examples​

12

<figcaption>

Adds a caption to the figure.​

Subject | Subject

Some text here about the topic of discussion

13

<details>

  • Additional information t​he user can show or hide

  • Usually hidden

  • One of the few semantic tags with an action​

14

<summary>

Text where <details> are anchored​

15

Multiple Choice

Where could you find information on Semantics?

1

W3Schools

2

Ms. Lewis

3

A Google search

4

All of the above

16

Multiple Choice

Is it Semantics or Semantic Tags?

1

Semantics

2

Semantic Tags

3

Both are correct

17

Multiple Choice

If you use <details> which semantic tag do you need to use with it?

1

<section>

2

<figure>

3

<main>

4

<summary>

5

<header>

18

Multiple Choice

You have a news article that needs to go into an HTML page. Which semantic tag should it go between?

1

<article>

2

<section>

3

<figure>

4

<details>

19

Multiple Choice

You have a main page for a news website. You need to make something so all of the articles have thumbnails with a picture, a headline, and a bit of text. Which semantic tag do you choose?

1

<main>

2

<article>

3

<summary>

4

<section>

​Semantic Tags

Show answer

Auto Play

Slide 1 / 19

SLIDE