Re: Problem with <name...

2013-07-26 4:16, SeaBis wrote:

> Problem with <name...

There is no <name> element in HTML specifications, or in HTML5 drafts 
(which you are validating against), and browsers do not recognize such 
an element. (Browsers do parse it and insert it to the document tree, 
but it will just sit there, unless you have some CSS or JavaScript that 
plays with it.)

> At www.metal-corrosion.com <http://www.metal-corrosion.com> can anyone
> suggest a reason and resolution?

Just omit the <name> and </name> tags. They serve no purpose.

If you wanted to style the text that you have between such tags, then it 
would be advisable to use e.g. <span class=name>...</span> instead. A 
little more verbose, but valid, and it saves you from nasty surprises: 
some day, some version of HTML might have <name> element added to it, 
possibly with a meaning, functionality, and rendering that mess up a 
page that uses it for some different purpose.

Yucca

Received on Monday, 29 July 2013 21:26:01 UTC