Basic tags Flashcards

1
Q

Tag that initialize every html document

A

!DOCTYPE html

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

How to make a comment that not will be visible in the page?

A

< ! – the comment is put here – >

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

Define the roots of an HTML document

A

html

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

Defines information about the document, including metadata and scrips. Not visible in the web page.

A

head

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

Define the document’s body

A

body

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

In what consists the HTML element

A

Opening tag, content (the information), closing tag

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

What does the HTML Attributes

A

Attributes provide additional information about an element or a tag, while also modifying them. Most attributes have a value (with quotation marks); the value modifies the attribute.

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

Name some example of attributes

A

Align (Right, Centre, Left) = align the text
Width (in px or %)
Border
colspan (tables)

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

To insert an image

A

img

It contains only attributes, and does not have a closing tag.

The image’s URL (address) can be defined using the src attribute.

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

Image Resizing

A

To define the image size, use the width and height attributes.

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

Image Border

A

Use the border attribute within the image tag to create a border around the image

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

Add links

A

a (tag)

href (attribute to define the link’s destination address)

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

What does the “target” attribute and giving a _blank value to a link?

A

Giving a _blank value to your attribute will have the link open in a new window or new tab

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

Ordered list

A

ol

li (for each list item)

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

Unordered list

A

ul

li (for each list item)

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

Creating a table

A
table
tr (divided into table rows)
td (Table rows are divided into table columns)
17
Q

Name some formatting text tags

A
strong
em
b
i
small
ins
del
sup (superscripted text)
sub (subscripted text)
big