The Semantic Web Flashcards

(35 cards)

1
Q

What does “semantic” mean in the context of web development?

A

It relates to the meaning of elements in a markup language like HTML.

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

What is semantic markup?

A

The use of HTML tags that convey the meaning of the content they enclose.

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

Why is semantic markup important?

A

It helps browsers understand and correctly display the structure and content of a web page.

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

How does semantic markup benefit responsive design?

A

It allows browsers to adapt and render content appropriately across different devices.

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

What is the main purpose of semantic markup in web design?

A

To provide structure and meaning to different areas of a web page.

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

What kind of tags are <div> and <span>?</span>

A

Non-semantic tags.

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

What is the benefit of using semantic tags in HTML5?

A

They help the browser understand the structure and meaning of the content on a web page.

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

CONTENT AREAS AND THEIR SEMANTIC MARKUP

Name the content areas

A

Headers and footers
Navigation
Main
Sections
Articles
Asides

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

What does the <header> tag represent?

A

The start of the header section, usually containing a company logo, name, and navigation.

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

What is the <footer> tag used for?

A

To define the footer, often including author info, copyright, contact details, and navigation links.

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

What is the purpose of the <nav> tag?

A

To define the navigation area containing links to other sections or pages.

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

What does the <main> tag indicate?

A

It marks the main, unique content of a web page, excluding content repeated on other pages.

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

When should the <section> tag be used?

A

When content can be divided into separate sections, usually when there is a new heading.

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

How is the <div> tag defined?

A

A block-level tag that defines a section and stretches the full width of its container.

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

How is the <span> tag different from <div>?</span>

A

<span> is an inline tag, taking only the space needed for its content.</span>

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

HOW DO SEARCH ENGINES USE SEMANTIC CODE?

What is the purpose of semantic code in websites for search engines?

A

It helps search engines understand and organize the content, making it easier to find and rank relevant information.

16
Q

What are search engine crawlers (or spiders)?

A

Bots that search the internet for new information and web pages to add to a search engine’s database.

17
Q

What is Indexing.

A

the process of organizing and adding web content to a search engine’s database called

18
Q

Why does using semantic markup improve a website’s search result ranking?

A

Because it makes the website easier for search engine algorithms to read and match with search queries.

19
Q

What is SEO (Search Engine Optimization)?

A

The process of improving a website to increase its visibility in search engine results.

20
Q

Why is SEO important for a website?

A

Most users only look at the first few results in a search, so appearing higher can increase website traffic.

21
Q

WEB ACCESSIBILITY INITIATIVE

What does WAI-ARIA stand for?

A

Web Accessibility Initiative – Accessible Rich Internet Applications.

22
Q

Which organization released the WAI-ARIA specification?

A

The World Wide Web Consortium (W3C).

23
Q

What is the purpose of WAI-ARIA?

A

To help web developers make websites more accessible, especially for users with disabilities.

24
What kinds of technologies benefit most from WAI-ARIA?
Assistive technologies like screen readers.
25
What are the four main additions that WAI-ARIA brings to improve accessibility?
Roles States and properties Live regions Enhanced keyboard navigation
26
What are "roles" in WAI-ARIA?
Information added to HTML tags to define the function of an element for assistive technologies.
27
Why are roles important for accessibility?
They help screen readers and other assistive technologies understand the purpose of elements on a page.
28
How do roles benefit users with visual impairments?
They allow screen readers to announce the correct function of each element, improving navigation and interaction.
29
What are states and properties in WAI-ARIA used for?
To indicate the current condition or configuration of an element on a web page.
30
How do states and properties relate to roles in WAI-ARIA?
They are paired with roles to provide more detailed information about an element’s status or behavior.
31
What is a live region in web accessibility?
A section of a web page marked to notify users, especially screen reader users, when content changes without a full page reload.
32
Why are live regions important for visually impaired users?
They ensure screen readers announce content changes that occur dynamically, which users may otherwise miss
33
Q: What is the purpose of enhanced keyboard navigation in web accessibility?
To ensure all interactive elements on a website can be accessed and used via keyboard shortcuts.
34
Why is keyboard accessibility important?
It allows users who cannot use a mouse, including those with mobility impairments, to navigate and interact with a website.