External Exam Download Resources Web Applications Games Recycle Bin

Hypertext Markup Language

6 facts about Hypertext Markup Language (HTML):

1. HTML is not a programming language, meaning it isn't used for functional purposes. HTML is used for structural purposes to create web pages.

2. HTML consists of named elements such as body, table, p, ol, li, and many, many more

3. HTML elements are wrapped in tags - < and > - which distinguish HTML elements from page content. Tag and element are often used as interchangeable words to mean the same thing - e.g. this: <img> can be called an image tag, or an image element.

4. HTML tags or elements often have an open tag and a close '/' tag, but not always.

5. When HTML tags or elements do have an open and close tag, with content in-between the two tags, the HTML tags can be described as "container tags", for example: <p> content </p>

6. HTML tags or elements that are not container tags are described as "self-closing tags" and do not need a close tag. For example: <br> gives a line break, and does not need a close tag.

Questions:

  1. what does HTML stand for? spell it out without looking
  2. is HTML used for functional or structural purposes of a webpage?
  3. give 1 example of a HTML element
  4. what do we call the things that a HTML element is 'wrapped' in?
  5. In a webpage we almost always use an 'element' as a 'tag'. Given this, is it OK to refer to elements as tags, or tags as elements?
  6. yes or no - does a container tag have an open AND close tag?
  7. yes or no - does a self-closing tag have an open AND close tag?