elements tags Flashcards

1
Q

<!DOCTYPE>

A

The <!DOCTYPE> Declaration

  • The <!DOCTYPE> declaration represents the document type and helps
    browsers to display web pages correctly.
  • It must only appear once, at the top of the page (before any HTML tags).
  • The <!DOCTYPE> declaration is not case sensitive.
  • The <!DOCTYPE> declaration for HTML5
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

headings

A

HTML Headings

  • HTML headings are defined with the <h1> to <h6> tags.
  • <h1> defines the most important heading. <h6> defines the least
    important heading
    </h6></h1>
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

images

A
  • HTML images are defined with the <img></img> tag.
  • The source file (src), alternative text (alt), width, and height are
    provided as attributes:

<img></img>

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

hyper links

A

*HTML links are defined with the <a> tag:</a>

<a>This is a link</a>

The link’s destination is specified in the href attribute.

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

attributes

A

Attributes are used to provide additional information about HTML elements.

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

nested elements

A

Nested HTML Elements

  • HTML elements can be nested (this means that
    elements can contain other elements).

(<html>, <body>, <h1> and <p>)

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

nested elements

A

Nested HTML Elements

  • HTML elements can be nested (this means that
    elements can contain other elements).

(<html>, <body>, <h1> and <p>)

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