The description of HTML terminology. What is HTML tag, attribute, class, and id, opening and closing tags, attribute and class values, and HTML text. Also relation of parent and child elements in the DOM structure
8. Understanding HTML and terminology
Summary:
• Html DOM consists of: HTML Tags, HTML Attributes and Attribute values
• “Class” and “ID” are also HTML attribute names
• “Class” attribute can have several values and each value is separated by space
• HTML tags usually come in pairs of Opening and Closing tag. Closing tag has the same
name and forward slash
• Value in between angle brackets (>here<) is a plain text
• Elements above the “key” web element are Parent Elements
• Elements Inside of the “key” web element are Child Elements
• Elements placed at the same level side by side are Sibling Elements