HTML Tags and Attributes
HTML stands for (H)yper(T)ext (M)arkup (L)anguage. It has certain tags and attributes defined, and is geared towards document display over the World Wide Web. HTML documents can be viewed in browsers such as Internet Explorer, Mozilla, Opera, and Safari. On this page, we will introduce the notion of tags and attributes.
The general syntax is as follows:
<tag attribute 1 = "value" attribute 2 = "value" ... >
A couple of other notes before we dive into the tutorial:
- HTML tag codes are case-insensitive.
- Many browsers will ignore badly-formed HTML documents. In other words, it is
often okay to have a tag without the corresponding closing tag.