Vous êtes sur la page 1sur 4

Introduction to HTML http://www.w3schools.com/html/html_intro.

asp

TRANSLATE

HOME HTML CSS XML JAVASCRIPT ASP PHP SQL MORE... REFERENCES | EXAMPLES | FORUM | ABOUT

Just AJAX IDE Online Coding Made Easy Be a Web Designer


Professional Java IDE for AJAX development Try CodeitRightOnline today and Take a free Learn HTML, Dreamweaver Join Arena
(JavaScript/HTML/CSS). 45 minute web demo Animation Academy today!
www.jetbrains.com www.codeitrightonline.com www.arena-multimedia.com

HTML Basic WEB HOSTING

HTML HOME
HTML Introduction Best Web Hosting
HTML Introduction PHP MySQL Hosting
HTML Get Started « Previous Next Chapter »
HTML Basic Top 10 Web Hosting
HTML Elements UK Reseller Hosting
HTML Attributes Example
Cloud Hosting
HTML Headings
HTML Paragraphs <html> Top Web Hosting
HTML Formatting <body>
$6.93 Domain
HTML Styles
HTML Links <h1>My First Heading</h1> Cheap & Best Hosting
HTML Images
HTML Tables <p>My first paragraph.</p> WEB BUILDING
HTML Lists XML Editor – Free Trial!
HTML Forms </body>
</html> FREE Flash Website
HTML Frames
HTML Iframes Free Website Templates
HTML Colors Free WordPress Themes
Try it yourself »
HTML Colornames
HTML Colorvalues W3SCHOOLS EXAMS
HTML Quick List Get Certified in:
What is HTML? HTML, CSS, JavaScript,
HTML Advanced XML, PHP, and ASP
HTML is a language for describing web pages.
HTML Doctypes W3SCHOOLS BOOKS
HTML CSS HTML stands for Hyper Text Markup Language
New Books:
HTML Head HTML is not a programming language, it is a markup language HTML, CSS
HTML Meta A markup language is a set of markup tags JavaScript, and Ajax
HTML Scripts HTML uses markup tags to describe web pages
HTML Entities STATISTICS
HTML URLs
Browser Statistics
HTML URL Encode HTML Tags Browser OS
HTML Webserver Browser Display
HTML Summary HTML markup tags are usually called HTML tags
SHARE THIS PAGE
HTML Examples HTML tags are keywords surrounded by angle brackets like <html>
HTML tags normally come in pairs like <b> and </b> Share with »
HTML Examples
The first tag in a pair is the start tag, the second tag is the end tag
HTML Quiz
Start and end tags are also called opening tags and closing tags
HTML Certificate

HTML References HTML Documents = Web Pages


HTML Tag List
HTML Attributes HTML documents describe web pages
HTML Events HTML documents contain HTML tags and plain text
HTML Colornames HTML documents are also called web pages
HTML Colorpicker
HTML Character Sets The purpose of a web browser (like Internet Explorer or Firefox) is to read HTML documents and display
HTML ASCII them as web pages. The browser does not display the HTML tags, but uses the tags to interpret the
HTML ISO-8859-1 content of the page:
HTML Symbols
HTML URL Encode <html>
HTML Lang Codes <body>
HTML Status Codes
<h1>My First Heading</h1>
Chinese Version
<p>My first paragraph.</p>

</body>
</html>

Example Explained
The text between <html> and </html> describes the web page
The text between <body> and </body> is the visible page content
The text between <h1> and </h1> is displayed as a heading
The text between <p> and </p> is displayed as a paragraph

« Previous Next Chapter »

Product Spotlight
Royalty Free and Excel Compatible - SpreadsheetGear for .NET
Featuring the fastest and most complete Excel compatible calculation engine - Download a free 30-day
evaluation today!
Ads by Lake Quincy Media

1 of 1 5/6/2011 9:30 PM
HTML Basic http://www.w3schools.com/html/html_primary.asp

TRANSLATE

HOME HTML CSS XML JAVASCRIPT ASP PHP SQL MORE... REFERENCES | EXAMPLES | FORUM | ABOUT

HTML Basic WEB HOSTING

HTML HOME
HTML Basic - 4 Examples Best Web Hosting
HTML Introduction PHP MySQL Hosting
HTML Get Started « Previous Next Chapter »
HTML Basic Top 10 Web Hosting
HTML Elements Don't worry if the examples use tags you have not learned. UK Reseller Hosting
HTML Attributes
Cloud Hosting
HTML Headings
You will learn about them in the next chapters. Top Web Hosting
HTML Paragraphs
HTML Formatting $6.93 Domain
HTML Styles
HTML Links HTML Headings Cheap & Best Hosting
HTML Images
HTML Tables HTML headings are defined with the <h1> to <h6> tags. WEB BUILDING
HTML Lists Download XML Editor
HTML Forms Example FREE Flash Website
HTML Frames
HTML Iframes <h1>This is a heading</h1> Free Website Templates
HTML Colors Free WordPress Themes
<h2>This is a heading</h2>
HTML Colornames <h3>This is a heading</h3>
HTML Colorvalues W3SCHOOLS EXAMS
HTML Quick List Get Certified in:
Try it yourself » HTML, CSS, JavaScript,
HTML Advanced XML, PHP, and ASP

HTML Doctypes W3SCHOOLS BOOKS


HTML CSS
HTML Head HTML Paragraphs New Books:
HTML, CSS
HTML Meta JavaScript, and Ajax
HTML Scripts HTML paragraphs are defined with the <p> tag.
HTML Entities STATISTICS
HTML URLs
Example Browser Statistics
HTML URL Encode
Browser OS
HTML Webserver Browser Display
<p>This is a paragraph.</p>
HTML Summary
<p>This is another paragraph.</p>
SHARE THIS PAGE
HTML Examples Share with »
Try it yourself »
HTML Examples
HTML Quiz
HTML Certificate

HTML References HTML Links


HTML Tag List
HTML links are defined with the <a> tag.
HTML Attributes
HTML Events
HTML Colornames Example
HTML Colorpicker
HTML Character Sets <a href="http://www.w3schools.com">This is a link</a>
HTML ASCII
HTML ISO-8859-1
HTML Symbols Try it yourself »
HTML URL Encode
HTML Lang Codes
Note: The link address is specified in the href attribute.
HTML Status Codes
(You will learn about attributes in a later chapter of this tutorial).
Chinese Version

HTML Images
HTML images are defined with the <img> tag.

Example
<img src="w3schools.jpg" width="104" height="142" />

Try it yourself »

Note: The name and the size of the image are provided as attributes.

« Previous Next Chapter »

Product Spotlight
Royalty Free and Excel Compatible - SpreadsheetGear for .NET
Featuring the fastest and most complete Excel compatible calculation engine - Download a free 30-day
evaluation today!
Ads by Lake Quincy Media

Create Your Own Website Like a Pro

1 of 1 5/6/2011 9:45 PM
HTML Elements http://www.w3schools.com/html/html_elements.asp

TRANSLATE

HOME HTML CSS XML JAVASCRIPT ASP PHP SQL MORE... REFERENCES | EXAMPLES | FORUM | ABOUT

HTML Basic WEB HOSTING

HTML HOME
HTML Elements Best Web Hosting
HTML Introduction PHP MySQL Hosting
HTML Get Started « Previous Next Chapter »
HTML Basic Top 10 Web Hosting
HTML Elements HTML documents are defined by HTML elements. UK Reseller Hosting
HTML Attributes
Cloud Hosting
HTML Headings
HTML Paragraphs Top Web Hosting
HTML Formatting
HTML Elements
$6.93 Domain
HTML Styles
An HTML element is everything from the start tag to the end tag: Cheap & Best Hosting
HTML Links
HTML Images
HTML Tables Start tag * Element content End tag * WEB BUILDING
HTML Lists <p> This is a paragraph </p> Download XML Editor
HTML Forms
FREE Flash Website
HTML Frames <a href="default.htm" > This is a link </a>
HTML Iframes Free Website Templates
<br /> Free WordPress Themes
HTML Colors
HTML Colornames
HTML Colorvalues * The start tag is often called the opening tag. The end tag is often called the closing tag. W3SCHOOLS EXAMS
HTML Quick List Get Certified in:
HTML, CSS, JavaScript,
HTML Advanced
HTML Element Syntax XML, PHP, and ASP

HTML Doctypes An HTML element starts with a start tag / opening tag W3SCHOOLS BOOKS
HTML CSS An HTML element ends with an end tag / closing tag
New Books:
HTML Head The element content is everything between the start and the end tag HTML, CSS
HTML Meta Some HTML elements have empty content JavaScript, and Ajax
HTML Scripts Empty elements are closed in the start tag
HTML Entities Most HTML elements can have attributes STATISTICS
HTML URLs
Tip: You will learn about attributes in the next chapter of this tutorial. Browser Statistics
HTML URL Encode
Browser OS
HTML Webserver Browser Display
HTML Summary
Nested HTML Elements SHARE THIS PAGE
HTML Examples Share with »
Most HTML elements can be nested (can contain other HTML elements).
HTML Examples
HTML Quiz HTML documents consist of nested HTML elements.
HTML Certificate

HTML References HTML Document Example


HTML Tag List
HTML Attributes <html>
HTML Events
HTML Colornames <body>
HTML Colorpicker <p>This is my first paragraph.</p>
HTML Character Sets </body>
HTML ASCII
HTML ISO-8859-1 </html>
HTML Symbols
HTML URL Encode
HTML Lang Codes The example above contains 3 HTML elements.
HTML Status Codes

Chinese Version HTML Example Explained


The <p> element:

<p>This is my first paragraph.</p>

The <p> element defines a paragraph in the HTML document.


The element has a start tag <p> and an end tag </p>.
The element content is: This is my first paragraph.

The <body> element:

<body>
<p>This is my first paragraph.</p>
</body>

The <body> element defines the body of the HTML document.


The element has a start tag <body> and an end tag </body>.
The element content is another HTML element (a p element).

The <html> element:

<html>

<body>
<p>This is my first paragraph.</p>
</body>

1 of 1 5/6/2011 9:47 PM
HTML Attributes http://www.w3schools.com/html/html_attributes.asp

TRANSLATE

HOME HTML CSS XML JAVASCRIPT ASP PHP SQL MORE... REFERENCES | EXAMPLES | FORUM | ABOUT

Just AJAX IDE Coding Competitions Best XML Editor


Professional Java IDE for AJAX development Compete in cloud development contests to Create and Transform XML documents
(JavaScript/HTML/CSS). win cash. Join now! Flexible & easy to use! Free trial
www.jetbrains.com join.CloudSpokes.com www.oxygenxml.com

HTML Basic WEB HOSTING

HTML HOME
HTML Attributes Best Web Hosting
HTML Introduction PHP MySQL Hosting
HTML Get Started « Previous Next Chapter »
HTML Basic Top 10 Web Hosting
HTML Elements Attributes provide additional information about HTML elements. UK Reseller Hosting
HTML Attributes
Cloud Hosting
HTML Headings
HTML Paragraphs Top Web Hosting
HTML Formatting
HTML Attributes
$6.93 Domain
HTML Styles
HTML elements can have attributes Cheap & Best Hosting
HTML Links
Attributes provide additional information about an element
HTML Images
Attributes are always specified in the start tag WEB BUILDING
HTML Tables
Attributes come in name/value pairs like: name="value"
HTML Lists Download XML Editor
HTML Forms
FREE Flash Website
HTML Frames
HTML Iframes
Attribute Example Free Website Templates
HTML Colors Free WordPress Themes
HTML links are defined with the <a> tag. The link address is specified in the href attribute:
HTML Colornames
HTML Colorvalues W3SCHOOLS EXAMS
HTML Quick List Example Get Certified in:
HTML, CSS, JavaScript,
HTML Advanced <a href="http://www.w3schools.com">This is a link</a> XML, PHP, and ASP

HTML Doctypes W3SCHOOLS BOOKS


HTML CSS Try it yourself » New Books:
HTML Head
HTML, CSS
HTML Meta JavaScript, and Ajax
HTML Scripts
HTML Entities STATISTICS
HTML URLs Always Quote Attribute Values
Browser Statistics
HTML URL Encode
Attribute values should always be enclosed in quotes. Browser OS
HTML Webserver
Browser Display
HTML Summary
Double style quotes are the most common, but single style quotes are also allowed.
SHARE THIS PAGE
HTML Examples Tip: In some rare situations, when the attribute value itself contains quotes, it is necessary to use Share with »
HTML Examples single quotes: name='John "ShotGun" Nelson'
HTML Quiz
HTML Certificate
HTML Tip: Use Lowercase Attributes
HTML References
Attribute names and attribute values are case-insensitive.
HTML Tag List
HTML Attributes However, the World Wide Web Consortium (W3C) recommends lowercase attributes/attribute values in
HTML Events their HTML 4 recommendation.
HTML Colornames
HTML Colorpicker Newer versions of (X)HTML will demand lowercase attributes.
HTML Character Sets
HTML ASCII
HTML ISO-8859-1 HTML Attributes Reference
HTML Symbols
HTML URL Encode A complete list of legal attributes for each HTML element is listed in our:
HTML Lang Codes
HTML Status Codes Complete HTML Reference

Chinese Version Below is a list of some attributes that are standard for most HTML elements:

Attribute Value Description


class classname Specifies a classname for an element
id id Specifies a unique id for an element
style style_definition Specifies an inline style for an element
title tooltip_text Specifies extra information about an element (displayed as a
tool tip)

For more information about standard attributes:

HTML Standard Attributes Reference

« Previous Next Chapter »

Altova StyleVision – XSLT Stylesheet Design Tool


Generate advanced XSLT stylesheets, Web pages, and reports using intuitive drag-and-drop
functionality, intelligent entry-helpers, and more. See how easy it is to work with XSLT in this tool from
the makers of XMLSpy.

Download a free, 30-day trial!

1,050,724 Sites built with Wix. Make your own!

1 of 1 5/6/2011 9:52 PM

Vous aimerez peut-être aussi