Categories

Archives

Creating a Web Site: The Missing Manual, Chapter 2

XHTML is the modern version of HTML, the original Web markup language. XHTML (and HTML) tags tells Web browsers how to display the information contained between the tags.

There is no difference between the .htm and .html extension.

I. Advantages of XHTML over HTML
A. XHTML does not let you be as sloppy in your markup as HTML does. While this may appear at first glance as
a disadvantage to some who like to be sloppy, it forces you to do things the same way every time and really learn
the language.
B. XHTML is much more compatible across different browsers than is HTML.
C. The best Web sites today are being built with XHTML, so this is the language you will see when you are looking at
source codes for ideas/questions.

II. Expanding an XHTML-created website
A. Embedded programs
1. Java applets
2. ActiveX controls (both are miniature programs that you can use in a Web page but are not written in XHTML)
B. Browser Plug-ins
1. Acrobat
2. Flash

The document type definition (DTD) is placed at the beginning of a Web page to tell the browser which language the page was written in:

XHTML Strict:

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

XHTML Transitional:

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

Tags tell the browser to run on and off formatting settings; tags are used in pairs with a start tag and an end tag. A pair of start and end tags is known as an element. ()

Standalone tags do not come in pairs and typically insert something into the page. (
)

The comment tag will tell the browser to hide everything that is between the tags ()

Use a validator (www.validome.org) to validate pages.

The validated code for the text example:

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

Hire Me!

I am Lee Park, hire me for your company, because my work is off the hizzle.
As proof of my staggering computer skills and monumental work ethic, please enjoy this
electronic resume.

Lee Park Portrait

Indispensable Skills

My skills include:

  • Fast typing (nearly 12 words/minute).
  • Extraordinary pencil sharpening ability.
  • Inventive excuse making.
  • Negotiating with officers of the peace.

And I also know XHTML!

Previous Work Experience

I have had a long and illustrious career in a variety of trades. Here are some highlights:

  • 2005-2008 – Worked as a typist at Flying Fingers
  • 2008-2009 – Starred in Chapter 2 of Creating Web Pages: The Missing Manual

Creating a Web Site: The Missing Manual, Chapter 1

I knew that the Web had existed prior to the 1990s, but that it didn’t hit the mainstream until 1993. This chapter told we why, something that I never knew: 1993 is the year the first Web browser was introduced. And what is it that makes a Web browser so magical? A browser sends a request for the text version of the page a user types in to the address bar to a server where that information is stored. The server then sends back the text, and the browser interprets that text (html, xhtml, etc.) and draws the webpage on the screen for the user.

I currently use IE and will need to download Firefox to check my webpages.

I. Planning a Web Site
A. Types of Sites
1. Personal
2. Blogs
3. Résumé
4. Topical
5. Event
6. Promotion
7. Small business
B. Understanding Your Audience
1. Compare screen monitors with different resolutions
2. Be careful using non-standard fonts
3. Slim down graphics
4. Easy on features that aren’t widely supported
C. Lifespan
1. Best sites are constantly improving/adding new content
2. Think in stages/design a site that is easy to modify
3. Modify key areas regularly, leave the rest alone
D. Practice good design
1. Keep it simple
2. Consistent design
3. Gear style towards your audience
II. Ingredients of a Web Site
A. Web Pages
B. Web Space (Publishing to the Web)
C. Domain Name
D. Using Web Design Tools
E. Hyperlinks
F. Extras
1. Listed in search engines
2. Forums
3. Commerce
4. JavaScript
5. Audio/Video