HTML Elements [Link]
asp
Select Language ▼
HOME HTML CSS JAVASCRIPT JQUERY XML [Link] PHP SQL MORE... REFERENCES | EXAMPLES | FORUM | ABOUT
SHARE THIS PAGE
Get Certified
Study Web Technologies
and get a diploma
Like 39k
at [Link]
HTML Basic HTML Elements WEB HOSTING
HTML HOME
Best Web Hosting
HTML Introduction « Previous Next Chapter »
eUK Web Hosting
HTML Editors
HTML Basic HTML documents are defined by HTML elements. UK Reseller Hosting
HTML Elements Cloud Hosting
HTML Attributes HTML Elements Top Web Hosting
HTML Headings $3.98 Unlimited Hosting
An HTML element is everything from the start tag to the end tag:
HTML Paragraphs 250+ Hosting Apps
HTML Formatting Start tag * Element content End tag *
HTML Links
<p> This is a paragraph </p> WEB BUILDING
HTML Head
<a href="[Link]"> This is a link </a> Download XML Editor
HTML CSS
HTML Images FREE Website BUILDER
<br>
HTML Tables FREE Website Creator
HTML Lists * The start tag is often called the opening tag. The end tag is often called the closing tag.
HTML Blocks STATISTICS
HTML Layout
HTML Element Syntax Browser Statistics
HTML Forms
An HTML element starts with a start tag / opening tag OS Statistics
HTML Iframes
An HTML element ends with an end tag / closing tag Display Statistics
HTML Colors
The element content is everything between the start and the end tag
HTML Colornames Some HTML elements have empty content
HTML Colorvalues Empty elements are closed in the start tag
Most HTML elements can have attributes
HTML JavaScript
HTML Entities Tip: You will learn about attributes in the next chapter of this tutorial.
HTML URL Encode
HTML Quick List Nested HTML Elements
HTML Summary
Most HTML elements can be nested (can contain other HTML elements).
HTML XHTML
HTML documents consist of nested HTML elements.
HTML5 News
HTML5 Intro
HTML Document Example
HTML5 Elements
HTML5 Canvas <!DOCTYPE html>
<html>
HTML5 SVG
HTML5 Drag/Drop <body>
HTML5 Geolocation <p>This is my first paragraph.</p>
</body>
HTML5 Video
HTML5 Audio </html>
HTML5 Input Types
The example above contains 3 HTML elements.
HTML5 Form Elements
HTML5 Form Attributes
HTML5 Web Storage
HTML Example Explained
HTML5 App Cache The <p> element:
HTML5 Web Workers
<p>This is my first paragraph.</p>
HTML5 SSE
The <p> element defines a paragraph in the HTML document.
HTML Media The element has a start tag <p> and an end tag </p>.
HTML Media The element content is: This is my first paragraph.
HTML Object
The <body> element:
HTML Audio
HTML Video <body>
<p>This is my first paragraph.</p>
HTML YouTube
</body>
HTML Examples The <body> element defines the body of the HTML document.
HTML Examples The element has a start tag <body> and an end tag </body>.
HTML Quiz The element content is another HTML element (a p element).
HTML Certificate The <html> element:
HTML References <html>
HTML Tag List
<body>
HTML Attributes <p>This is my first paragraph.</p>
HTML Events </body>
HTML Canvas </html>
HTML Audio/Video
HTML Doctypes The <html> element defines the whole HTML document.
The element has a start tag <html> and an end tag </html>.
1 of 2 09-02-2013 08:18 PM
HTML Elements [Link]
HTML Colornames The element content is another HTML element (the body element).
HTML Colorpicker
HTML Colormixer Don't Forget the End Tag
HTML Character Sets
Some HTML elements might display correctly even if you forget the end tag:
HTML ASCII
HTML ISO-8859-1 <p>This is a paragraph
<p>This is a paragraph
HTML Symbols
HTML URL Encode
The example above works in most browsers, because the closing tag is considered optional.
HTML Lang Codes
Never rely on this. Many HTML elements will produce unexpected results and/or errors if you forget the end tag .
HTTP Messages
HTTP Methods
Keyboard Shortcuts Empty HTML Elements
HTML elements with no content are called empty elements.
Chinese Version
<br> is an empty element without a closing tag (the <br> tag defines a line break).
Tip: In XHTML, all elements must be closed. Adding a slash inside the start tag, like <br />, is the proper way of
closing empty elements in XHTML (and XML).
HTML Tip: Use Lowercase Tags
HTML tags are not case sensitive: <P> means the same as <p>. Many web sites use uppercase HTML tags.
W3Schools use lowercase tags because the World Wide Web Consortium (W3C) recommends lowercase in HTML 4,
and demands lowercase tags in XHTML.
« Previous Next Chapter »
Build Your Powerful HTML Website for Free with Wix
Start building your own stunning website - programming free!
[Link] provides a free, easy-to-use online platform that lets
you create and publish your own unique website. Its powerful
editing tools & customizable website designs make building a
beautiful website easy.
Add eCommerce features, connect a custom domain and
experience superior SEO results. Wix is your ultimate solution
for creating an exquisite HTML website.
Over 20 million users have created their website with Wix.
Create yours now! »
Top 10 Tutorials Top 10 References Examples Quizzes Color Picker
» HTML Tutorial » HTML/HTML5 Reference » HTML Examples » HTML Quiz
» HTML5 Tutorial » CSS 1,2,3 Reference » CSS Examples » XHTML Quiz
» CSS Tutorial » CSS 3 Browser Support » XML Examples » CSS Quiz
» CSS3 Tutorial » JavaScript » JavaScript Examples » JavaScript Quiz
» JavaScript Tutorial » HTML DOM » HTML DOM Examples » jQuery Quiz
» jQuery Tutorial » XML DOM » XML DOM Examples » XML Quiz
» SQL Tutorial » PHP Reference » AJAX Examples » ASP Quiz Statistics
» PHP Tutorial » jQuery Reference » [Link] Examples » PHP Quiz
» [Link] Tutorial » [Link] Reference » Razor Examples » SQL Quiz » Browser Statistics
» XML Tutorial » HTML Colors » ASP Examples » Browser OS
» SVG Examples » Browser Display
REPORT ERROR | HOME | TOP | PRINT | FORUM | ABOUT | ADVERTISE WITH US
W3Schools is optimized for learning, testing, and training. Examples might be simplified to improve reading and basic understanding.
Tutorials, references, and examples are constantly reviewed to avoid errors, but we cannot warrant full correctness of all content.
While using this site, you agree to have read and accepted our terms of use and privacy policy.
Copyright 1999-2013 by Refsnes Data. All Rights Reserved.
2 of 2 09-02-2013 08:18 PM