HTML Lab1
HTML Lab1
XHTML
OBJECTIVES
In this chapter you will learn:
To understand important components of XHTML
documents.
To use XHTML to create web pages.
To add images to web pages.
To create and use hyperlinks to navigate web
pages.
To mark up lists of information.
To create tables with rows and columns of data
and control table formatting.
To create and use forms to get user input.
To make web pages accessible to search engines
using <meta> tags.
HTML vs XHTML
HTML or HyperText Markup Language is the main markup
language for creating web pages and other information that can be
displayed in a web browser.
XHTML 1.0
Allows only a document’s content and structure to appear in a valid
XHTML document, and not its formatting
Formatting is specified with Cascading Style Sheets
EDITING XHTML
head element
generally is not rendered in the display window
FIRST XHTML EXAMPLE
(CONT.)
The title element:
Names a web page
Usually appears in the colored bar (called the title bar) at
the top of the browser window
Is the text identifying a page when users add your page
to their list of Favorites or Bookmarks