I encourage you to check out the source code for this file. The thing is, diffrent web browsers put the "view source" command in diffrent places, so it may not be very easy to find.

Click "view" from the file menu, then click source, to see the source code. If that does not work, right click an empty spot on this web page and then left click "view source". If no luck try selecting "view source" from the page menu (if there is one). If you still can not view the source, try a diffrent web browser, or do a search in your browser's help file for "view source".

The code above "head" is the xhtml 1.0 header.

"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" specifies the file that validates the HTML. This validation is done to make sure all the xhtml code is typed properly.

The line starting with "html" specifies the language as english.

The meta tag is useful for many different things, it is like 10 tags in 1. meta tags are not required, however; they should always be used.

meta http-equiv="Content-Type" specifies what type of file this is, and how the text is encoded.

All HTML/XHTML files must have a title. The tags "html", "head", "title", and "body" are required, also all html files must always have a name ending in ".htm" or ".html".

meta name="description" specifies what description the web page has. This is useful when your web page pops up in a search engine (like google).

meta name=keywords" specifies what search words or phrases will (hopefully) find your site in a search engine.

In an HTML/XHTML file line returns are treated like a space, and multiple spaces are treated like 1 space. So to make a line return you use the tag "br" or you use the tag "p". To make multiple spaces use " ".

Special characters like less then sign ("<"), greater then sign (">") and ampersand ("&"), must be entered with special codes. Use "&lt;" for "<", "&gt;" for ">", and "&amp;" for "&".

This is a paragraph, it is standard to use the p tag for paragraphs, however; sometimes I proffer to use the br tag instead.

This is another paragraph, as you can see, unlike in books, paragraphs in HTML files typically have a double line return between them.

You can put comments in your HTML files, comments are not visible unless you are viewing the HTML code. Here is an example of a comment:


This file is just a basic overview of HTML. For more information, here are some links:
www.visibone.com/html
General info about HTML from w3.org
w3.org (www.w3.org) sets the HTML and XHTML standards for the world.
Speaking of internet standards iana is the organization that is in charge of dividing up the internet between the major corporations, organizations and countries, that maintain different regions of the net. You can check them out at iana (Internet Assigned Numbers Authority).

Basic text formatting

Bold text
Italic text
Underlined text
Big text
Small text
You can also subscript and superscript characters using the "sub" and "sup" tags, like this:
If IOUT=106 and VOUT=12 then WOUT=12*106
Centered text
This text is also centered
This text is red
This text is also red

The "a" tag

For links use "a href" like this:
Click here to go to Delta Fox Design

It's also useful to use the target attribute to specify where the link will appear. This link will open Delta Fox Design in a new window:
Click here to go to Delta Fox Design

You can also link to different parts of a page, by naming parts of a page with "a name". Below are some links to different parts of this web page:
TextFormatting
About the "a" tag
About the "img" tag
About text aligning tags

The "img" tag

Use the img tag for images:
[Picture]
Use the align attribute with img to align the picture:
[Picture]

The img tag's align attribute also supports the following values:
top middle bottom

Note: The newer XHTML standard ("XHTML Strict") does NOT define the "align" attribute of the "img" tag. www.visibone.com/html says that the value "middle" differs between IE and Netscape.

[Picture]

Text aligning HTML tags

By the way, the tags "h1", "h2", "h3", "h4", "h5", and "h6" make text big, they are the 6 "header tags".

Definitions

HTML
Hypertext Markup Language
XHTML
Extensible Hypertext Markup Language

Unordered list

Ordered list

  1. Make an example XHTML file.
  2. Validate the XHTML file with w3.org.
  3. Publish the XHTML file on DeltaFoxDesign.com.

Table

The first 3 Pokémon captured by trainer Ash Ketchum.
Pokémon names are trademarks of Nintendo.

Pokémon Number Element Type
Pikachu 25 Electric Mouse
Caterpie 10 Bug Worm
Pidgeotto 17 Normal/Flying Bird

---

Use hr to make a horizontal line.


Note: As with most of my HTML and JavaScript code, I typed all this in notepad. I did not use any web designing tools at all.
I checked spelling with MS Word. But I edited with Notepad.
Validated with http://validator.w3.org/