Lab 3 Challenge

Introduction to HTML

What is HTML?

HTML is a markup language to create websites, weblogs and webpages. It stands for Hyper Text Markup Language

There are different versions of HTML such as HTML 1.0, HTML 2.0 etc. But the latest version of HTML is HTML 5 .

The following table includes some useful HTML tages.

  1. p for paragraph
  2. h1 for top-level heading
  3. h2 for second level heading
  4. ol for ordered list
  5. li for list items

What Are Cascading Style Sheets (CSS)?

Before the invention of Cascading Style Sheets, HTML pages included both content (words and images to be displayed) and style (fonts, font sizes, font colors, background colors, borders, text alignment, etc.). But the options for controlling the appearance of the page were limited, and having content and style information together on the HTML page made it hard to update pages, maintain consistent designs from page to page, and update the design of pages.

Fortunately, a much better option for specifying style has replaced this: Cascading Style Sheets (CSS). A Cascading Style Sheet, usually a separate file ending in ".css", contains rules for formatting various HTML tags and other "selectors." HTML pages include one or more tags within the element that specify which style sheet(s) the page is using.

Separating formatting and content has several benefits: