Forum Moderators: open
Do I really need to close h1 tag? I don't like extra carroage return it enters. If I don't have closing h1 tag, do search engines think my whole site is in h1 tag though I use CSS to control body text.
Am I safe if I don't use closing h1 tags?
Or better yet - If you don't want a carriage return, then the text you are marking isn't a heading.
Not always true. Many headings look better right above the text they're intended for. The question isn't whether or not the carriage return is present or desirable, but whether or not the heading is distinct from, and more emphasized than, the rest of the text on the page.
It is only convention that makes some believe that a heading must sit on its own little line.
Limited Screen Real estate may cause changes in this convention. One can only fit so much on a monitor, so it is natural for the style of headings to evolve into something that conserves this valuable resource.
WBF
I'd say that this discussion is headed in the right direction. It's a semantic issue whether a group of words constitutes a heading or not, and not a rendering style issue.
In print, there is something called a "run-on head" where the heading is inline with the paragraph
Yes, indeed. I have a page layout where a number of outlined sections on the page have exactly this setup.
I use something like:
h2 {display:inline; margin-right:2em;} The paragraph runs straight on from the heading.