many doctype use a url link
like this
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
and this dtd file is on live url http://www.w3.org/TR/html4/strict.dtd
...
can use anything in any order? does placing of <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> is important before <title>
this is most used, is it best way?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<meta http-equiv...
In any CMS based site after my work in future client or any client's staff (non-technical) will update website through WYSIWYG editor and it's surely possible they could use deprecated tag or any non-semantic and non validated code. so in this condition would it be better to use transtional doctype over strict for CMS based site?
...
I created this little Geolocation experiment site http://www.bctx.info/wx
it works great on my Android 1.6 (Magic, I/O Phone) it prompts the
user to share, returns lat, log and is snappy. 1.6 uses Gears for
this. I tried it on an up to date Droid and a 2.0 emulator image and
it detects the "navigator.geolocation" element (excellent!) and...
What are cons to use transitional doctype with presentational or deprecated element, if our code is valid in W3C validation with transitional doctype?
Will we have to rewrite/edit site's code again after few years for the site's in which we are using XHTML/HTML transtional doctype.?
This is not semantic but using less character, and it...
I have the html:
<p>
<a href="#">click here</a>
Welcome
</p>
And I just want to retrieve the "Welcome" part using Xpath combined with the Jaxen lib the Xpath I am using is;
//p/text()
Now when I remove the /text() it retrieves;
click here
Welcome
With the /text() added it retrieve null
Is there any other way to retrieve everythi...
Like the title says, I have an online app that I am wanting to validate, but users need to log in first to access them. How do I go about validating this?
Thanks!
Joel
...
Hi folks,
I'm really very new to javascript, and trying to validate a page to xhtml transitional. I use onselectstart="return false"
So I understand that I am wanting to create a javascript function that will insert that as an id. I even found this http://www.webmasterworld.com/javascript/3054096.htm and he figured out how to do it....
Hello. I'd like to know if there is a good XHTML / CSS editor available. The intent is to be able to create html pages that resemble a design in question. The editor should be WYSIWYG and output should be standards compliant (XHTML, CSS2) and the markup produced should be readable and lean.
On Googling, I do get a list of many product...
I have a XHTML-file using the following doctype-definition:
`<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">`
Eclipse is trying to validate the file by using the referenced dtd file, which results in this error:
ParseException: Error validating the model: Se...
Eric meyer reset css is suggesting "tables still need 'cellspacing="0"' in the markup". Is it necessary? and what is the benefit of border-collapse: collapse; and border-spacing: 0;?
and it's only suggesting to use cellspacing, while table has another property called cellpadding?
/* tables still need 'cellspacing="0"' in the markup */...
Is use of underline deprecated and non validated?
...
Why does Eric Meyer have not advisable, presentational, deprecated, and non-semantic tags in his css reset? (I.e. applet, iframe, big, s, small, strike.)
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
sm...
I'm using this dtd
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
Error is for this attribute?
<html lang="en">
Should i remove this from DTD?
...
4.2. Element and attribute names must be in lower case
XHTML documents must use lower case for all HTML element and attribute names. This difference is necessary because XML is case-sensitive e.g. <li> and <LI> are different tags.
Source : http://www.w3.org/TR/2002/REC-xhtml1-20020801/diffs.html#h-4.2
But is it also necesary for attri...
If iframe is not good to use then is there any other standard complaint way to get same thing like iframe?
...
Are there any pros to use HTML 4.01 strict over XHTML 1.0 strict (content="text/html)?
...
i know it is pure semantic way
<form action="" method="">
<fieldset>
<legend>Contact Form</legend>
<label for="name">Name</label>
<input name="name" id="name" size="20" />
</fieldset>
<form>
But some time for some design purpose it's not sufficient to get needed style. so my qu...
Can we use any other TAG in <ul> along with <li>?
like
<ul>
Some text here or <p>Some text here<p> etc
<li>item 1</li>
Some text here or <p>Some text here<p> etc
<li>item 1</li>
</ul>
...
What should I use in my CSS:
/* Example #1: */ background-image: url(image.png);
/* Example #2: */ background-image: url("image.png");
/* Example #3: */ background-image: url('image.png');
What says the W3C? What's really the "right solution" from the W3C?
...