WD - Balises HTML (definitions) Flashcards

1
Q

!DOCTYPE…

A

declaration tells the browser which version of HTML the document is using

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

html

A

element is the document’s root element - it can be thought of as a container that all other tags sit inside (except for the !DOCTYPE)

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

head

A

tag contains information that is not normally viewable within your browser (such as meta tags, havascript and css), although the title tag is an exception to this. The content of the title tag is displayed in the browser’s title bar (right at the top of the browser)

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

h1

A

tag defines a level 1 heading

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

p

A

tag defines a paragraph. This contains the body text.

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

body

A

tag is the main area for your content. This is where most of your code and viewable elements will go

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

br

A

“line break”. c’est pour envoyer à la ligne.

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

hr

A

“horizontal rule”. Il va séparer en deux paragraphes différents, et va tracer une ligne horizontal pour distinguer les deux parties

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

ul + li

A
"Unordered list". <ul> pour créer un unordered list, et <li> pour chaque élément dans la liste. 
<ul>
   <li> list tiem 1 </li>
   <li> list item 2 </li>
</ul></li></ul>
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

ol + li

A

pareil que <ul>, mais c’est un Ordered list (donc en énumération, avec 1-, 2-, 3-, etc)</ul>

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

h1, h2, h3, h4, h5, h6

A

Heading, il y a 6 niveaux pour des titres, ça va du h1 au h6.

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

What is HTML attributes?

A

Attributes are added to a tag to provide the browser with more information about how the tag should appear or behave. Attributes consist of a name and a value separated by an equals (=) sign.

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

abbr

A

abbreviation ou acronyme.

<abbr>HTML</abbr>

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

a href=””

A

a element used for creating a hyperlink to another web page.
href=”” attribute specifies the location of the web page that we’re linkng to.

<a> Quackit tutorials </a>

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

Embedded styles

A

Embedded styles are addead to the element of a document, and can contain most of the styles for the document.

My example

body { background-color: grey}
etc etc

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

External styles

A

External styles refers to creating a separate file that contains all style information. This file is then linked to from as many HTML Pages as you like -even the whole site.
You have tuse the “link” tag, providing the url of style sheet in the href attribute as well as rel”stylesheet”.

my example

17
Q

Selectors

A

Embedded style sheets and external style sheets use selectors to specify which element to apply a style to.
Example “body” is a selector for the body element.