HTML Flashcards

1
Q

What’s an HTML Element ?

A

An HTML element is defined by a start tag, some content, and an end tag.

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

What are additional informations written in the HTML tag called ?

A

HTML Attributes.

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

What is formatting for ?

A

Accessibility

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

<b>
<em>
<i>
<small>
<strong>


<ins>
<del>
<mark></mark></del></ins>
</strong></small></i></em></b>

A

Defines bold text
Defines emphasized text
Defines a part of text in an alternate voice or mood
Defines smaller text
Defines important text
Defines subscripted text
Defines superscripted text
Defines inserted text
Defines deleted text
Defines marked/highlighted text

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

<bdo></bdo>

<blockquote>
<address>
<abbr>
</abbr></address></blockquote>

A

Defines the text direction
Defines a section that is quoted from another source
Defines contact information for the author/owner of a document
Defines an abbreviation or acronym

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

rel = ?

A

stylesheet or icon

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

<div>
<span>
</span></div>

A

Defines a section in a document (block-level)
Defines a section in a document (inline)

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

AAAAAAAAALT

A

ALT

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

<meta></meta>

A

Define keywords for search engines:

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

<meta></meta>

A

Set viewport

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

What is the <base></base> element ?

A

The <base></base> element specifies the base URL and/or target for all relative URLs in a page.

(exemple: relative path)

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

What is the <head> element ?

A

The <head> element is a container for metadata (data about data)

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

<header>
<nav>
<section>
<article>
<aside> - Defines content aside from the content (like a sidebar)
<footer> - Defines a footer for a document or a section
<details> - Defines additional details that the user can open and close on demand
<summary> - Defines a heading for the <details> element
</details></summary></details></footer></aside></article></section></nav></header>

A

Defines a header for a document or a section
Defines a set of navigation links
Defines a section in a document
Defines an independent, self-contained content
Defines content aside from the content (like a sidebar)
Defines a footer for a document or a section
Defines additional details that the user can open and close on demand
Defines a heading for the <details> element</details>

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

Why do we have to replace reserved characters?

A

Reserved characters in HTML must be replaced with character entities. (exemple: &entity_name;) so that the computer doesn’t confuse it with a tag.

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

What can UTF-8 alphabet display with #code ?

A

characters, emojis, symbols …

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

<video>
<source></source>
<source></source>
Your browser does not support the video tag.
</video>

A

<video>
<source></source>
<source></source>
Your browser does not support the video tag.
</video>