HTML5: Basic Concepts Flashcards
What is an HTML attribute?
Attributes are instructions that clarify or modify an element
What is the difference between a tag and an element?
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.
What is an HTML element?
Strictly speaking an HTML element comprises the an opening and closing tag and any content that lies between them.
What is an HTML attribute?
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.
What does HTML stand for?
HyperText Markup Language