1.0 HTML Semantic Markup Flashcards

1
Q

What does semantic HTML mean?

A

It helps give structure to a website page by defining important sections.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the 3 main types of semantic markup on a web page?

A

Header, Main, and Footer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How does semantic markup impact search engines?

A

It helps scan websites for relevant sections.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How does semantic help people using assistive technologies?

A

Semantic HTML helps devices & apps read the website page out loud.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What goes into the header?

A

Logo, navigation, and introductory information

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What goes into the main content?

A

Articles, blogs, images, videos, etc. It is literally the “main enchilada” The content people came to see.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What goes into the footer?

A

Navigation links, copyright, website creator

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What’s the HTML tag for header?

A

header

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What’s the HTML tag for the footer?

A

footer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What’s the HTML tag for the main content?

A

main

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is section mean in terms of semantics?

A

Main categories of page content, often brought together by shared purpose or topic

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What does aside mean?

A

Aside is the same as sidebar.

Sidebar appears left or right of the main content

Think WordPress sidebar

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What’s the meaning of article in terms of semantics?

A

It’s a group of content that’s independent enough to stand alone or be self-contained as a chunk of content.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Why are typography elements like (h1-h6, p) all part of semantics?

A

It conveys order of importance for text, via visual hierarchy.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the D.O.M.?

A

D.O.M. stands for document object model

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What are 3 types of articles that are self-contained?

A

Examples: article, blog post, forum post

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What is HTML?

A

HTML stands for hypertext markup language.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

What does hypertext mean?

A

Hypertext means it uses keywords to communicate to the browser how information is meant to be displayed in a visual way.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

Why is it a markup language?

A

It’s a language because it has its rules for how it works.

20
Q

What role does HTML serve in front end programming?

A

HTML makes it possible to see text, images, and video on a website.

21
Q

How do you create a link using HTML tags?

22
Q

What does the a stand for from a href html?

A

a stands for attribute

23
Q

What is the href represent?

A

href represents the attribute name

24
Q

What is the attribute value in a link?

A

The attribute value is defined via a URL.

25
What does a **hyperlink** do?
A hyperlink connects website pages together, from either internal or external source.
26
What does URL stand for?
**Uniform Resource Locator**
27
What is the purpose of URLs (unique resource locators)?
A URL is nothing more than the address of a given unique resource on the Web.
28
What resources are linked to via URLs?
Each valid URL points to a unique resource (HTML page, a CSS document, an image, etc.)
29
What purpose do URLs serve on the web?
URLs are the mechanism used by browsers to **retrieve** any published **resource** on the web.
30
Does Brainscape accept gif images?
31
What is doctype html?
A piece of **code** that tells the **browser** what kind of **information** it’s getting, so that it can **display** your web page properly.
32
What is the proper HTML syntax for doctype?
33
Between which HTML tag must all HTML tags go?
All of your code must be between tags.
34
Inside of the head tag, what bits of information go within it?
behind-the-scenes information title of your web page, and a links to a CSS stylesheets.
35
Is the title tag content seen on the website page?
No. It's seen in the tab It's also seen in search engine results.
36
What's the HTML for the title tag?
37
What content is contained within the HTML **body** tag?
-- header, navigation, images, content -- all of those things goes between the body tags.
38
What's the purpose of **alt** text?
It summarizes the content of the image for robots & web browsers.
39
What's the **definition** of **alt** text?
Alt is short for alternative text.
40
When should **alt** appear with **images**? Why?
Always! For accessibility purposes For SEO purposes
41
What does the **image attribute** of **src** do?
Tells the browser where the image is located.
42
Can an image src be internal or external?
It's possible to do both external and internal. You can link to an image from your website’s files, or from an outside URL.
43
What's the HTML structure for paragraphs?
The paragraph tag puts text into paragraphs. It's usually marked by the following p tags.
44
What is an anchor tag?
It's usually marked by an a
45
What does the HTML **meta charset** mean?
It defines the character set used in the HTML document for encoding purposes.
46
What's the full syntax for meta charset?
47