HTML5: Basic Concepts Flashcards

1
Q

What is an HTML attribute?

A

Attributes are instructions that clarify or modify an element

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

What is the difference between a tag and an element?

A

A tag is a part of the markup (brackets and element name) used to delimit an element. An element consists of the content and its tags.

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

What is an HTML element?

A

Strictly speaking an HTML element comprises the an opening and closing tag and any content that lies between them.

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

What is an HTML attribute?

A

Attributes provide additional information about the contents of an element. They appear in the opening tag of the element and are made up of two parts: a name and a value, separated by an equals sign.

The attribute name indicates what kind of extra information you are supplying about the element’s content. It should be written in lowercase.

The value is the information or setting for the attribute and it should be placed in double quotes. Different attributes can have different values.

Most attribute values are either pre-defined or follow a stipulated format.

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

What does HTML stand for?

A

HyperText Markup Language

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