HTML commands – Format of a tag

HTML commands – Format of a tag cover image
  1. Home
  2. HTML
  3. HTML commands – Format of a tag

The HTML files are plain ASCII text files that are displayed by the browser in whatever form you have specified. TAGS control the layout and formatting of the elements in HTML. These tags (and there are quite a few of them) are the building blocks of HTML.

The basic syntax of a tag:

<TAG-NAME {ATTRIBUTE1{=”VALUE1″ …}}>{Some text that is affected}</TAG-NAME>

The above notation might seem confusing to you at first; let’s break it down:

HTML