XHTML 1.0 Strict Content Data
Hi all. I'm rather interested to "upgrade" my HTML from XHTML 1.0 Transitional to Strict.
css code here....
However from what I read in HTML Goodies, I suppose it is no longer like this?
I tried something like that but it doesn't work:
Another question, about comments. Since <!-- COMMENT --> Cannot be used in XHTML Strict, what should I use? I tried
<![CDATA[ COMMENT ]]>
but it's an error and the comment is displayed on the page.
Normally using <!-- Some Comment --> will work although it is best to use external files.
// End Hiding -->
Um... comments and external files??
An example of an external CSS link:
<link rel="stylesheet" href="somefile.css" type="text/css" />
Alternatively you could have this:
Ok I get it. So do we have to comment out internal CSS code using this as well?
PS. My question was on writing comments. I thought <!-- COMMENTS --> isn't allowed in XHTML strict?
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)