HTMLHTML, or Hypertext Markup Language, is a language used in web development to make a text readable by web browsers.
HTML is primarily formed of paired elements, such as < body >< /body > or < p >< /p >, that apply some characteristic to the text within it. One pair of elements may be nested inside another like this:
< body >< p >< /p >< /body >
In this case, < body >< /body > marks the beginning and end of the body of the document, while < p >< /p > marks the beginning and end of a paragraph within the body.
Elements may also be modified by attributes and attribute values:
< p class="hangingindent" >
In this case, the paragraph element has the attribute 'class' and the attribute value 'hangingindent'. Attribute/attribute value pairs are frequently used in combination with CSS to apply formatting to the text within the element.
Return to Glossary., or Hypertext Markup Language, is a language used in web development to make a text readable by web browsers.
HTMLHTML, or Hypertext Markup Language, is a language used in web development to make a text readable by web browsers.
HTML is primarily formed of paired elements, such as < body >< /body > or < p >< /p >, that apply some characteristic to the text within it. One pair of elements may be nested inside another like this:
< body >< p >< /p >< /body >
In this case, < body >< /body > marks the beginning and end of the body of the document, while < p >< /p > marks the beginning and end of a paragraph within the body.
Elements may also be modified by attributes and attribute values:
< p class="hangingindent" >
In this case, the paragraph element has the attribute 'class' and the attribute value 'hangingindent'. Attribute/attribute value pairs are frequently used in combination with CSS to apply formatting to the text within the element.
Return to Glossary. is primarily formed of paired elements, such as < body >< /body > or < p >< /p >, that apply some characteristic to the text within it. One pair of elements may be nested inside another like this:
< body >< p >< /p >< /body >
In this case, < body >< /body > marks the beginning and end of the body of the document, while < p >< /p > marks the beginning and end of a paragraph within the body.
Elements may also be modified by attributes and attribute values:
< p class="hangingindent" >
In this case, the paragraph elementAn element, also called a tag, is characteristically used within HTML and XML to apply characteristics (such as headings, paragraphs or user-defined categories) or metadata to a document, usually a text.
Elements generally appear in matching pairs of an opening element and a closing element, with text in between. All text within an element pair is modified by that element, and one element pair may be nested inside another.
In the case of HTML, elements are used to format a text directly, or as a delimiter for CSS formatting to the text within that element. An HTML paragraph element:
< p >< /p >
In the case of XML, elements may be also be used as a delimiter for CSS formatting to the text within that element, but its primary purpose is to apply metadata to that text. Ex:
< book format="hardcover" >< /book >
Both HTML and XML elements may be modified with attribute/value pairs. In the above example, format="hardcover" is the attribute/value pair modifying the element < book >.
Return to Glossary. has the attributeAn attribute is a string of characters used to modify an HTML or XML element in conjunction with an attribute value.
Attribute-attribute value pairs appear within an element, and serve to distinguish the instances of the element modified with a given attribute from other instances of that element.
In the case of HTML, this is frequently used to apply CSS formatting to the text within that element. Ex:
< p class="hangingindent" >
In the case of XML, this may be used to apply CSS formatting and/or apply metadata to the text within that element. Ex:
< book format="hardcover" >
In the above examples, 'class' and 'format' are the attributes modifying < p > and < book > respectively.
Return to Glossary. 'class' and the attribute valueAn attribute value is a quoted string of characters used to modify an HTML or XML element in conjunction with an attribute.
Attribute values appear within an element following an attribute, and serves distinguish the instances of the element modified with a given attribute-value pairing from other instances of that element.
In the case of HTML, this is frequently used to apply CSS formatting to the text within that element. Ex:
< p class="hangingindent" >
In the case of XML, this may be used to apply CSS formatting and/or apply metadata to the text within that element. Ex:
< book format="hardcover" >
In the above examples, 'hangingindent' and 'hardcover' are the attribute values modifying < p > and < book > respectively.
Return to Glossary. 'hangingindent'. AttributeAn attribute is a string of characters used to modify an HTML or XML element in conjunction with an attribute value.
Attribute-attribute value pairs appear within an element, and serve to distinguish the instances of the element modified with a given attribute from other instances of that element.
In the case of HTML, this is frequently used to apply CSS formatting to the text within that element. Ex:
< p class="hangingindent" >
In the case of XML, this may be used to apply CSS formatting and/or apply metadata to the text within that element. Ex:
< book format="hardcover" >
In the above examples, 'class' and 'format' are the attributes modifying < p > and < book > respectively.
Return to Glossary./attribute valueAn attribute value is a quoted string of characters used to modify an HTML or XML element in conjunction with an attribute.
Attribute values appear within an element following an attribute, and serves distinguish the instances of the element modified with a given attribute-value pairing from other instances of that element.
In the case of HTML, this is frequently used to apply CSS formatting to the text within that element. Ex:
< p class="hangingindent" >
In the case of XML, this may be used to apply CSS formatting and/or apply metadata to the text within that element. Ex:
< book format="hardcover" >
In the above examples, 'hangingindent' and 'hardcover' are the attribute values modifying < p > and < book > respectively.
Return to Glossary. pairs are frequently used in combination with CSS to apply formatting to the text within the elementAn element, also called a tag, is characteristically used within HTML and XML to apply characteristics (such as headings, paragraphs or user-defined categories) or metadata to a document, usually a text.
Elements generally appear in matching pairs of an opening element and a closing element, with text in between. All text within an element pair is modified by that element, and one element pair may be nested inside another.
In the case of HTML, elements are used to format a text directly, or as a delimiter for CSS formatting to the text within that element. An HTML paragraph element:
< p >< /p >
In the case of XML, elements may be also be used as a delimiter for CSS formatting to the text within that element, but its primary purpose is to apply metadata to that text. Ex:
< book format="hardcover" >< /book >
Both HTML and XML elements may be modified with attribute/value pairs. In the above example, format="hardcover" is the attribute/value pair modifying the element < book >.
Return to Glossary..