Hi, I am an internet marketer with some HTML skills. I have just purchased HTML Pad 2007 and plan to use it instead of Dreamweaver.
For my webpages I was taught to use:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> and <html xmlns="http://www.w3.org/1999/xhtml">.
The wizard gives me the DOCTYPE element attribute I need but it does not include the html element attribute. However your HTML Inspector does have the empty xmlns attibute.
I use these attributes to have some future proofing and I also combine CSS with the HTML. However I do not do any XML stuff.
My question is: Do I gain anything by including
<html xmlns="http://www.w3.org/1999/xhtml"> instead of just using the <html> element the wizard produces?
Anyone know what the attribute 'xmlns="http://www.w3.org/1999/xhtml' does?
Thanks
Dixie
HTML XMLS Attribute
Moderator: kfury77
Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
Please try to follow these guidelines. This will help to receive faster and more accurate response.
- Check the Support section of the corresponding product first. Chances are you will find your answer there;
- Do not create new topics for already reported problems. Add your comments to the existing topics instead;
- Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
- Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
- Include the version number of the software you are using;
- This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
Info on XMLNS can be found here: www.w3.org/TR/xptr-xmlns/
And this explains why there's no point in using XHTML instead of HTML: www.spartanicus.utvinternet.ie/no-xhtml.htm
And this explains why there's no point in using XHTML instead of HTML: www.spartanicus.utvinternet.ie/no-xhtml.htm
Roy