Jump to content

tutorial error ???


cjaffar

Recommended Posts

on w3schools.com i was reading a tutorial on xhtml. there, it states some attribues not valid in base, head, html, meta, param, script, style, and title elements - especially the id attribute. i then was looking at w3.org. i came across the following in chapter 'C.14. Referencing Style Elements when serving as XML'"In HTML 4 and XHTML, the style element can be used to define document-internal style rules. In XML, an XML stylesheet declaration is used to define style rules. In order to be compatible with this convention, style elements should have their fragment identifier set using the id attribute, and an XML stylesheet declaration should reference this fragment"misleading tutorial ??? help

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...