Forum Moderators: open
I think I posted a header question in the wrong forum, so I will ask here.
My question is two part.
1. I thought that h1 tag was larger than a h2 tg, but mine does not appear that way.
2. With the headers, I've heard I should have content following the header - but that content should be indneted - I wanted to combine two headers into one - with just a dash in the middle - is that a good idea or not?
Thank you
Er, I'm not sure exactly what you mean. The headings <h1>, <h2> etc are to mark up different levels of heading, as in the main title of your document, and then the chapters, and then the sections and subsections, etc.
So putting something withing some heading tags will give that text a certain meaning. This usually puts the text in a certain sized font, often with <h1> being the biggest andthen going down in size with <h2> etc. But this is not always the case: if you wanted, you as the author could use CSS to make <h3> the biggest- obviously this is not advised, but it can be done. In fact, the reader could do this as well, overriding whatever you've set for the page.
I'm not sure what effect you want to create, but in either case, it's wrong to combine two headers together- it doesn't make sense to have an <h2> tag inside an <h1>.
Hope that helps...