Welcome to WebmasterWorld Guest from 220.127.116.11
Forum Moderators: not2easy
I am a bit in the dark here and as English is not my native language I'm afraid I don't understand the exact meaning of alt131's post. What is the proper way to put comment in an inline style sheet?I don't think it was your English webprutser - and I wish my Cantonese and French were 1/8th as good! My comment was very roundabout - I should have explained better.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
<title> Page Title </title>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"></meta>
<link rel="stylesheet" href="/" type="text/css" media="screen" charset="utf-8"></link>
<link rel="stylesheet" href="/" type="text/css" media="print" charset="utf-8" />
<style type="text/css" media="screen">
<img src="http://www.webmasterworld.com/gfx/logo.png" alt="" />
<img src="http://www.webmasterworld.com/gfx/logo.png" alt=""></img>
The construct <foo<bar> is valid in HTML (it is an example of the rather obscure “Shorttags” feature) but its use is not recommended. In most cases, this is a typo ...The discussion has been interesting as I've never experienced the validator objecting to using /> to self-close in xhtml, but even so, perhaps start by looking for simple things like: