You are here: Re: What have they done!? « HTML « IT news, forums, messages
Re: What have they done!?

Posted by krzywon on 04/15/07 15:22

> «html»«body»X«/body»«/html»
>
> Total size 28 bytes

This is not a complete HTML document. Read the MODERN standards.

> 1/3 the US is STILL on 56k, and probably 80% of the
> world 'net' population will stay on 56k it for decades more.

You should only be worried about single bytes if you're still using a
2400 baud modem. For a 56k you get trouble downloading when you have
100s of kB and MB.

> Then it got much worse. Another page flunked because it
> was missing 'empties' like alt="" (up another 600 bytes
> for a page with 100 of them). This kind of insanity is
> like having to paint "not painted" on a car that is not
> painted. Sheeee!

You're asking people to write thin HTML to save on download time, but
you have a single page with 100 pictures? A little contradictory, me
thinks! Also, the alt tag is not an 'empty' as you say. Many people
with impaired vision surf the internet every day! How do you think
they find out what pictures are on your site? Their screen reader
reads the alt tag.

> «!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"»
> «html»
> «head»
> «meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"»
> «title»
> «/title»
> «/head»
> «body alink="#33cc00" bgcolor="#ffffff" link="#0000ff" text="#000000"
> vlink="#ff0000"»
> X
> «/body»
> «/html»

Simple fix, write your HTML to 4.01 Strict standards and use a style
sheet to remove the inline styles. The link requires a single line of
html. Once the sheet is downloaded the first time, it is in the users
cache.

> Valid HTML 4.01 Transitional To show your readers that you have taken
> the care to create an interoperable Web page, you may display this
> icon on any page that validates. Here is the HTML you could use to add
> this icon to your Web page:

This isn't required. Anyone can check the validity of your HTML and
CSS simply by going to the W3C.

The modern standards were written to help people write simple markup
that is inter operable and easy to maintain. It would be difficult to
overhaul the look of your site, especially if you had more than 10
pages. Please do not promote markup from 1997. Times change, please
don't be left behind.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация