Reply
Is it safe to use <h7>?
Old 06-11-2006, 11:06 PM Is it safe to use <h7>?
Experienced Talker

Posts: 33
I have more than six styles of headings. Is it safe to use the <h7> tag?
Maedi is offline
Reply With Quote
View Public Profile Visit Maedi's homepage!
 
When You Register, These Ads Go Away!
     
Old 06-11-2006, 11:36 PM Re: Is it safe to use <h7>?
ChipJohns's Avatar
I don't know! Do you?

Posts: 477
Name: Chip Johns
Location: Savannah Georgia
Hi Maedi,

H7 is not an html tag. I believe that if FireFox runs accross this tag it will display any css for the tag, however IE probablywill not.

Safe? According to what? The police won't come and arrest you, or you're not going to break out in a rash, so it is safe in these instances.

However, it isn't proper html markup. It isn't going to validate and, it isn't going to accomplish what you want.

I would just use the p element to display the final heading and use css..

Oh and if a rash persists, see your doctor as soon as possible..
ChipJohns is offline
Reply With Quote
View Public Profile Visit ChipJohns's homepage!
 
Old 06-11-2006, 11:44 PM Re: Is it safe to use <h7>?
Experienced Talker

Posts: 33
K, I guess im left to doing something like this <span class="header7">txt</span>, instead of something simpler such as <h7>txt</h7>.

What does everyone else do?

Maedi
Maedi is offline
Reply With Quote
View Public Profile Visit Maedi's homepage!
 
Old 06-11-2006, 11:44 PM Re: Is it safe to use <h7>?
mgraphic's Avatar
Truth Seeker

Latest Blog Post:
Wireless Audio
Posts: 2,314
Name: Keith Marshall
Location: West Hartford, CT
Just like ChipJohns said, using the <p> paragraph element along with the <strong> element to make the text stand out bold and on its own line.

btw - good luck with that rash
__________________

<mgraphic /> - I don't have a solution but I admire the problem.
mgraphic is offline
Reply With Quote
View Public Profile
 
Old 06-12-2006, 12:01 AM Re: Is it safe to use <h7>?
Experienced Talker

Posts: 33
There are only so many elements. Im questioning what everyone uses, after those elements are depleted.
Maedi is offline
Reply With Quote
View Public Profile Visit Maedi's homepage!
 
Old 06-12-2006, 12:17 AM Re: Is it safe to use <h7>?
ChipJohns's Avatar
I don't know! Do you?

Posts: 477
Name: Chip Johns
Location: Savannah Georgia
Quote:
Originally Posted by Maedi
K, I guess im left to doing something like this <span class="header7">txt</span>, instead of something simpler such as <h7>txt</h7>.

What does everyone else do?

Maedi
<p class="header7">

Instead of placing the span element around p why not just apply the class to a p element..? This way you are still using markup properly. The span element is really for use on a part of another element

EX: <p> Now is the time for all good men to <span>come to the aid</span> of their family</P>

The span element does not cause a line break like p does. Since your entire line is going to be representative of the element, I would use p with the css class.

Hope this makes sense.
ChipJohns is offline
Reply With Quote
View Public Profile Visit ChipJohns's homepage!
 
Old 06-12-2006, 12:53 AM Re: Is it safe to use <h7>?
vangogh's Avatar
Post Impressionist

Latest Blog Post:
A Focused Blog Is A Happy Blog
Posts: 8,663
Name: Steven Bradley
Location: Boulder, Colorado
Do you really need to go 7 levels deep in headings? That seems like quite a lot. I hardly ever need more than 3, maybe 4 at most. I'm wondering if some of those lower lever headings are really headings at all. Sorry it just seems like a lot.
__________________
l Search Engine Friendly Web Design | Van SEO Design
l Tips On Marketing, SEO, Design, and Development | TheVanBlog
l Custom WordPress Themes
| Small Business Forum
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 06-12-2006, 01:11 AM Re: Is it safe to use <h7>?
Experienced Talker

Posts: 33
I guess I've never learn't the proper structure. I've been using div and span tags to style everything. Now I'm using p tags for text, h* for headings, etc.

I'd be interested on learning about the correct markup for everything.
Maedi is offline
Reply With Quote
View Public Profile Visit Maedi's homepage!
 
Old 06-12-2006, 01:22 AM Re: Is it safe to use <h7>?
ChipJohns's Avatar
I don't know! Do you?

Posts: 477
Name: Chip Johns
Location: Savannah Georgia
Check this out Maedi,

http://www.csszengarden.com/

At first it is a little daunting but the learning curve is very steep. Once you get it, you get it and learn very quickly. You will never go back to tables or improper use of html or css. It really is awesome.

ZenGareden gives some great examles to look at and study.

You are about to embark on an exciting new process that is going to change your entire approach to Web development! @;-)
ChipJohns is offline
Reply With Quote
View Public Profile Visit ChipJohns's homepage!
 
Old 06-12-2006, 10:21 AM Re: Is it safe to use <h7>?
LadynRed's Avatar
Super Moderator

Posts: 6,403
Location: Tennessee
Quote:
There are only so many elements. Im questioning what everyone uses, after those elements are depleted.
You use CSS. What exactly are you doing that requires 7 or more 'levels' ??
If you're sectioning off content, you may be better off defining new DIVs and then styling the h1-h6 headings within it using CSS specificity, like this: #divname h2. That would change the stlye of an h2 ONLY inside that div and you don't need a gazillion spans with classes and you surely don't need to invent elements.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
"Using or working with IE is like having to wear a 1970's polyester suit with pantyhose and a girdle, to work everyday"
Carolina Corvette Club
LadynRed is offline
Reply With Quote
View Public Profile
 
Old 06-14-2006, 11:12 PM Re: Is it safe to use <h7>?
Ultra Talker

Posts: 252
Location: Auckland, New Zealand
We write our own DOCTYPEs to handle it, well I'm not sure about "we" but I would probably write a new DOCTYPE to handle what I wanted if that was the only viable choice, it's usually your only choice when working with XML and you want parser to understand it efficiently.

As others have suggested, the P element is suitable for this considering SPAN is an inline element and all Hn elements are block level which P is too.

Or alternatively just use the headers you have like h1-h6 and style them within a class of their own but the need to actually go that far into creating headers should be looked at and should probably check if they're being used correctly and properly, since I've never really encountered a site that makes complete use of all those headers unless they were demonstrating it.

Cheers,

MC
__________________
#------------------------------signature---------------------------------------------------------------------------------#
Quote:
I am well recognised for what I don't do than what I do. Chores are just one of those things.
mastercomputers is offline
Reply With Quote
View Public Profile Visit mastercomputers's homepage!
 
Old 06-23-2006, 02:55 PM Re: Is it safe to use <h7>?
Novice Talker

Posts: 5
Name: Jason
if you have over 6 headings. i think you should consider restructuring your site.
terofive is offline
Reply With Quote
View Public Profile
 
Old 06-23-2006, 05:18 PM Re: Is it safe to use <h7>?
collyer_1's Avatar
Extreme Talker

Posts: 169
Location: Southern Alberta, Canada
If you want to start from the ground up, I'd suggest w3 schools. They have a great tutorial system that teaches you everything you need to know about html, css, and so much more.

http://www.w3schools.com/
(I tell a lot of people this)

In regards to what I use. I never have used more than three header styles. I often use lists, and class's to get the results I'm looking for.

If you're wondering what you might be doing wrong when you code HTML, and/or CSS you can try using the w3 markup validation service. It's free and it tells you everything you're doing wrong. I never publish a site without using it on every page.

http://validator.w3.org/

Last edited by collyer_1 : 06-23-2006 at 05:22 PM.
collyer_1 is offline
Reply With Quote
View Public Profile Visit collyer_1's homepage!
 
Old 06-28-2006, 09:51 AM Re: Is it safe to use <h7>?
OTO
OTO's Avatar
Experienced Talker

Posts: 44
Location: Tbilisi, Georgia
hm... I think <h7> tag is not recomended, as I know there are tags only from <h1> to <h6>
__________________
Nothing Is Impossible!
OTO is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Is it safe to use <h7>?
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.19626 seconds with 13 queries