Category Archives: HTML
17
April /10
|
April 17th, 2010 5,056 Comments »
Attributes provide additional information about HTML elements.
HTML Attributes
HTML elements can have attributes
Attributes provide additional information about the element
Attributes are always specified in the start tag
Attributes come in name/value pairs like: name="value"
Attribute Example
HTML links are defined with the <a> tag. The link address is provided as an attribute:
[code lang="xml"]
<a href="http://www.gfxway.com">This is a link</a>
[/code]
Always Quote Attribute Values
Attribute values should always...
|
09
April /10
|
April 9th, 2010 4,657 Comments »
An HTML element is everything from the start tag to the end tag:
Start tag * - Element content - End tag *
<p>
This is a paragraph
</p>
<a href="default.htm" >
This is a link
</a>
<br />
* The start tag is often called the opening tag. The end tag is often called the closing tag.
HTML Element Syntax
[code lang="xml"]
<html>
<body>
<p>This is my first paragraph</p>
</body>
</html>
[/code]
The example above...
|
05
April /10
|
April 5th, 2010 4,994 Comments »
Don't worry if the examples use tags you have not learned.
You will learn about them in the next chapters.
HTML Headings
HTML headings are defined with the <h1> to <h6> tags.
Example
[code lang="xml"]
<h1>This is a heading h1</h1>
<h2>This is a heading h2</h2>
<h3>This is a heading h3</h3>
[/code]
it will look like
This is a heading h1
This is a heading h2
This is a heading h3
HTML Paragraphs
HTML paragraphs are...
|
05
April /10
|
April 5th, 2010 4,872 Comments »
Previous Chapter »
What You Need
You don't need any HTML editor
You don't need a web server
You don't need a web site
Editing HTML
In this tutorial we use a plain text editor (like Notepad) to edit HTML. We believe this is the best way to learn HTML.
However, professional web developers often prefer HTML editors like FrontPage or Dreamweaver, instead of writing plain text.
Create Your...
|
04
April /10
|
April 4th, 2010 1,056 Comments »
With HTML you can create your own Web site.
This tutorial teaches you everything about HTML.
HTML is easy to learn - You will enjoy it.
What is HTML?
HTML is a language for describing web pages.
HTML stands for Hyper Text Markup Language
HTML is not a programming language, it is a markup language
A markup language is a set of markup tags
HTML...
|
