stargeek
PHP news website logo.
home    PHP scripts    articles    seo tools    links    search    contact    shop    realtors


Valid XHTML 1.0 Strict







Valid XHTML 1.0 Strict

Valid XHTML 1.0 Strict 12/03/2002 11:46 AM

This site is XHTML 1.0 Strict valid. Dang am I happy about that. It took some time getting rid of my old align="center" and <b> tag games, but it sure is worth it.




This is a GrokNews Entry: (what is grok?)





Similar Items

Valid XHTML 1.0 Strict

Grok Headline matches for Valid XHTML 1.0 Strict

"Valid XHTML "


"Valid XHTML " 02/17/2004 08:53 AM

Create Dynamic Pop-ups in XHTML 1.0
Strict Pages


Create Dynamic Pop-ups in XHTML 1.0
Strict Pages
09/07/2004 03:23 AM
WebmasterBase Sep 7 2004 7:38AM GMT

W3C HTML Working Group Publishes Updated
XHTML 2.0 Draft and XHTML FAQ


W3C HTML Working Group Publishes Updated
XHTML 2.0 Draft and XHTML FAQ
07/24/2004 02:24 PM
XMLMania.com Jul 24 2004 6:40PM GMT

Test-Strict-0.02


Test-Strict-0.02 03/19/2005 02:50 AM

Test-Strict-0.06


Test-Strict-0.06 03/24/2005 10:40 PM

Go-ped rules strict; it's for home use
only


Go-ped rules strict; it's for home use
only
12/20/2003 07:15 PM
Internet sales of various go-peds seem popular this year, with a quick Google search on scooter vendors turning up nearly 20,000 hits. ...

Government Web censorship too strict:
Study


Government Web censorship too strict:
Study
05/10/2004 11:09 PM
globetechnology.com May 11 2004 3:27AM GMT

Strict limits pledged on ID cards


Strict limits pledged on ID cards 04/26/2004 07:41 AM
David Blunkett promises safeguards as he publishes a bill paving the way for a national ID card scheme.

Strict diets 'cut heart disease'


Strict diets 'cut heart disease' 04/19/2004 08:31 PM
Strict dieting can dramatically reduce a person's risk of heart disease, a landmark study showed today.

valid CSS


valid CSS 06/11/2004 05:02 AM

tinyurl.com/2nhee
track this site | 6 links


Export of military technology by email
now under strict control


Export of military technology by email
now under strict control
11/03/2003 03:14 AM
PublicTechnology.net Nov 3 2003 2:23AM ET

A City of Quitters? In Strict New York,
11% Fewer Smokers


A City of Quitters? In Strict New York,
11% Fewer Smokers
05/12/2004 05:45 AM
In the wake of tobacco tax increases and a ban on smoking in bars, the number of adult smokers in the city fell 11 percent from 2002 to 2003.

Test-XML-Valid-0.03


Test-XML-Valid-0.03 06/01/2004 05:09 PM

Staying valid


Staying valid 05/02/2004 05:01 PM

Andrei Herasimchuk:

There seems no automatic way to keep a site valid with web standards unless you close it off to the rest of the world to contribute to it. I will not do that anytime soon.

There is: I'm doing it. Next Thursday will mark the one year anniversary of my switching to application/xhtml+xml as the content-type header for this site, for user agents that support it. Using that content-type forces Gecko engine browsers to refuse to render pages if they are not well-formed XML, so if a page is invalid I hear about it pretty quickly.

So how do you keep a frequently updated site with data from external sources and user comments valid? There are really only two things you need to do. Firstly, ensure that everything going IN to the system (entries and comments) is valid XHTML. I do that using a simple validation system for comments and a bookmarklet for my own entries. Secondly, any and all data from external sources (my blogroll from blo.gs, blogmark URLs added using a bookmarklet) needs to be entity-escaped before being displayed on the site. In my case, a call to PHP's htmlspecialchars() function is all that's needed.

I'm not saying my system is ideal - the need for well formed markup in comments is a major usability issue even on a site with an audience consisting mostly of web developers. But it's certainly possible to operate a site in XHTML with frequent updates and user comments while staying valid at the same time.


Test-XML-Valid-0.04


Test-XML-Valid-0.04 06/01/2004 05:09 PM

Trackback in, valid out (mostly)


Trackback in, valid out (mostly) 06/28/2004 09:41 PM
Jacques Distler: You gonna turn off Trackbacks (which don't declare a charset, and could be sent in any charset imaginable, but very frequently are Windows-1252)? Unless you have a way to guess the charset and re-encode the result to UTF-8, they will invalidate your pages as quick as you can sneeze. It turns out that by design it is rather hard for a string of bytes to accidentally be valid utf-8, unless that string is pure US-ASCII, in which case it doesn't much matter which encoding you presume. ...

11 ways to valid RSS


11 ways to valid RSS 04/09/2004 04:13 PM
11 valid RSS documents, highlighting different ways to specify content within an item. Does your aggregator do something sensible with all of them?

Aviation authority sets strict biometric
passport guidelines


Aviation authority sets strict biometric
passport guidelines
08/12/2004 08:07 AM
ZDNet UK Aug 12 2004 12:42PM GMT

ROME: Italy passes strict law aimed at
Internet piracy


ROME: Italy passes strict law aimed at
Internet piracy
06/01/2004 05:29 AM
Tribnet.com - Tue Jun 1, 07:55 am GMT

German Court Says GPL is Valid


German Court Says GPL is Valid 07/23/2004 01:05 PM

Does Google Reward Valid Code?


Does Google Reward Valid Code? 07/01/2002 08:30 AM
"Does Google reward valid HTML (According to W3C standard 4.0 or the XHTML standard)? "

RIAA Subpoenas for John Does Valid


RIAA Subpoenas for John Does Valid 08/04/2004 03:23 PM

HTML Tip: Why Valid Code Matters


HTML Tip: Why Valid Code Matters 12/11/2003 07:20 AM
Net Mechanic Dec 11 2003 5:52AM ET

German court ruled GPL valid


German court ruled GPL valid 07/27/2004 02:02 AM

Church Says Girl's Communion Not Valid
(AP)


Church Says Girl's Communion Not Valid
(AP)
08/19/2004 05:09 PM
AP - An 8-year-old girl who suffers from a rare digestive disorder and cannot eat wheat has had her first Holy Communion declared invalid because the wafer contained no wheat, violating Roman Catholic doctrine.

XML Basics Part III: An Example of
Well-Formed and Valid XML


XML Basics Part III: An Example of
Well-Formed and Valid XML
02/10/2004 07:55 PM
Internet.com Feb 11 2004 0:18AM GMT

RIM Paid $450 Million For Patents That
Aren't Valid


RIM Paid $450 Million For Patents That
Aren't Valid
04/13/2005 05:18 PM
It was surprising last month that RIM finally gave in to patent hoarder NTP and agreed to pay $450 million to license their portfolio of patents on fairly obvious concepts. This came just a few weeks after NTP paid RIM-competitor Good Technologies to license the same patents. However, while we missed this story last week, Po litech notes that the patent office rejected one of the main patents, and has indicated that it's likely to throw out the rest as well. All this, just three weeks after RIM agreed to pay half a billion to license them. The whole thing sounds pretty questionable. NTP (who might not even really have the rights to these patents) paid one company to license their own patents, pressuring the big fish (RIM) to then license them less than a month before the patent office rejected them. Whoever agreed to this deal on RIM's part really has quite a few questions to answer. They just gave up half a billion for invalid patents on an obvious idea, after the company that might not own those patents had to pay off another company to license them. What was RIM thinking?

As war on spam heats up, many valid
e-mails are getting lost


As war on spam heats up, many valid
e-mails are getting lost
02/18/2004 05:07 AM
Boston Globe Feb 18 2004 9:06AM GMT

XML Boulevard Lesson 15 - Valid XML,
DTDs and schemas


XML Boulevard Lesson 15 - Valid XML,
DTDs and schemas
07/18/2004 12:49 AM

CNN.com - Church says girl's communion
not valid - Aug 19, 2004


CNN.com - Church says girl's communion
not valid - Aug 19, 2004
08/20/2004 10:56 AM
Child’s wheat allergy sees her first communion invalidated .. Catholic Church again woefully out of touch .. you are a tool of Satan

cnn.com/2004/US/08/19/communion.denied.ap/index.html
track this site | 4 links


Yahoo! News - Church Says Girl's
Communion Not Valid


Yahoo! News - Church Says Girl's
Communion Not Valid
08/22/2004 09:23 AM
Girl allergic to communion wafers may go to hell .. Wheat allergy keeps 8-year-old girl out of heaven .. Quote:

story.news.yahoo.com/news?tmpl=story&cid=519&e=12&u=/ap/commu nion_denied
track this site | 3 links


ArGoSoft FTP Server reveals valid
usernames and allows for brute force
attacks


ArGoSoft FTP Server reveals valid
usernames and allows for brute force
attacks
12/31/2004 02:14 PM
steven_at_lovebug.org (Dec 31 2004)

36 Organic Mega-Countries - Organic
Agriculture Crop Area Reaches 26 Million
Hectares - Sector Calls for Strict
Liability Under the Cartagena Protocol
on Biosafety


36 Organic Mega-Countries - Organic
Agriculture Crop Area Reaches 26 Million
Hectares - Sector Calls for Strict
Liability Under the Cartagena Protocol
on Biosafety
06/05/2005 11:58 PM
Organic farming, the systematic conversion of land to certified practices that ensure food safety and security from the farm to the table, a comprehensive and fully traceable system, is developing rapidly throughout the world. According to the International Federation of Organic Agriculture Movement’s study The World of Organic Agriculture: Statistics and Emerging Trends 2005, 36 countries achieved organic mega-country status in 2004, meaning that over 50,000 hectares of certified organic land are currently being cultivated. In total, over 26 million hectares of land are currently certified worldwide, generating over $25 billion in revenue in 2003. [PRWEB Jun 3, 2005]

"XHTML"


"XHTML" 02/19/2004 03:22 PM

More on XHTML


More on XHTML 01/07/2004 06:48 PM
Following yesterday's post about XHTML validation and the script tag (which I assumed to be a browser problem, not a code problem) I got an email from megnut reader Maurice saying,

Script element should always have an end tag and really can't be considered a singular or "empty" type tag like, say, the Image tag or something. I guess it must be a minor glitch in the validator or something.

Since that didn't sound right to me, I decided to go to the source: XHTML 1.0 The Extensible HyperText Markup Language, Section 4.3: For non-empty elements, end tags are required. It says,

4.3. In SGML-based HTML 4 certain elements were permitted to omit the end tag; with the elements that followed implying closure. XML does not allow end tags to be omitted. All elements other than those declared in the DTD as EMPTY must have an end tag. Elements that are declared in the DTD as EMPTY can have an end tag or can use empty element shorthand

So I examine the DT D and see that <script> does not contain EMPTY, which would support Maurice's assertions that the code was in fact, not valid, and there was a glitch in the validator. But then I looked at the definition for <p> and it doesn't contain EMPTY either. But you can use <p /> instead of <p></p>. Or at least, I thought you could. Plus it seems weird since a <script> in reality can be empty, like in my example when it's linked to an external file. So why's the DTD saying it can't be? Anyone actually understand what's going on here?

XHTML 2.0


XHTML 2.0 07/23/2004 04:38 PM
W3C publishes the sixth draft of XHTML 2.0

w3.org/TR/2004/WD-xhtml2-20040722
track this site | 3 links


Why You Should Use XHTML


Why You Should Use XHTML 07/23/2004 02:55 PM
Slashdot Jul 23 2004 6:52PM GMT

What's (really) new in XHTML


What's (really) new in XHTML 01/14/2003 09:37 PM
XHTML 2.0 has been a topic of much discussion lately, including two recent Working Drafts. This article collects the recent changes in one convenient place.

XHTML 1.1


XHTML 1.1 12/03/2002 11:46 AM

XHTML 1.0 Strict isn't that much different from XHTML 1.0, except for a few little things. So I figured I'd just upgrade to XHTML 1.1 as long as I was on a roll fixing my site. Plus, it didn't take me long at all.

The one thing that bothers me though is the removal of the name attribute in the a element, and the way that the replacement id attribute works. For a name attribute you could have called it anything. For an id attribute, it can't start with a number. What happens if I want my anchors to use the title of my entries instead of the padded entry id? Say for example I want my anchor to be like this <h3 id="2.4Ghz Router">2.4Ghz Router</h3>. Well too bad, I can't do it. I don't use anchors on this site, because I don't really need them, I have individual archives. But come on, we need a workaround to this problem, albeit a very small one. (For you that don't know what an anchor does, it allows you to link to a specific section on a page using a # after the page name, for example http://noeljackson.com/archives/2002/October/index.php#rssical_070.)


Grok Description matches for Valid XHTML 1.0 Strict
GrokA matches for Valid XHTML 1.0 Strict

Valid XHTML 1.0 Strict

The following phrases have been identified by the grok system as matching this entry:

















Also check out: