View Single Post
Join Date: Jul 2004
Posts: 13
Reputation: JasonRCS is an unknown quantity at this point 
Solved Threads: 1
JasonRCS's Avatar
JasonRCS JasonRCS is offline Offline
Newbie Poster

Re: Heading tags and div tags

 
0
  #2
Aug 4th, 2004
Originally Posted by cscgal
I would like to use <H1> and <H2> tags to emphasize important keywords for SEO purposes. Is it XHTML-transitional legal to enclose a <div class="blah"> tag inside an <h1> tag?
I believe it is, but why... You could just apply the class to the <h1> tag: <h1 class="blah"> or assign the style to it in your style sheet:

h1 { some-style:xxx; }

Then all <h1>'s would inherit that style...

Make sense? If you are after another result, please share.... I am curious.
JasonRCS

Always a work in progress...
Reply With Quote