Pages

Friday, May 2, 2014

HTML body

The body of the document contains all that can be seen when the user loads the page.
In the rest of this tutorial you can learn in detail about all the different aspects of HTML, including
 
  • Text

    • Formatting

    • Resizing

    • Layout

    • Listing
  • Links

    • To local pages

    • To pages at other sites

    • To bookmarks
  • Images

    • Inserting images (GIF and jpg)

    • Adding a link to an image
  • Backgrounds

    • Colors

    • Images

    • Fixed Image
  • Tables

  • Frames

  • Forms

  • Metatags

  • Hexadecimal Colors


The last page in this introduction will give you an overview of how to proceed with the HTML tutorial (and beyond).

HTML Versions:

Since the early days of the web, there have been many versions of HTML:
Version
Year
HTML
1991
HTML+
1993
HTML 2.0
1995
HTML 3.2
1997
HTML 4.01
1999
XHTML 1.0
2000
HTML5
2012
XHTML5
2013



The <!DOCTYPE> Declaration:

The <!DOCTYPE> declaration helps the browser to display a web page correctly.
There are many different documents on the web, and a browser can only display an HTML page 100% correctly if it knows the HTML type and version used.



  

Common Declarations:

HTML5

<!DOCTYPE html>

HTML 4.01

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

XHTML 1.0

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

No comments:

Post a Comment