CSS headline tags and paragraph tags

Asked by:
arakovsky / 54 Points
2012-07-06 12:20 am EST

My website currently uses too many headline tags in the css file. I know you can only go from h1 to h6. I used higher h tags for some of the paragraphs in the website. What's the best way to fix this problem? Will changing the higher h tags to p (paragraph) tags fix this? Can I make a tag that looks like "p1" or "p6"?

Thanks for your help!

To ask this user for more information, please first login.

To submit an answer, please login.



16,266 Points
2012-07-06 3:37 pm EST
Hello arakovsky,

While you cannot use tags like p1 or p6, you can add class or ids to different paragraphs to make them have different effects. For example you can have a tag that looks like this:

<p class="p1"> and another that says
<p class="p2">

Then in your css, you would set the formatting for the p1 and p2 tags as you see fit. You can get the details on how to set those up at the W3schools CSS section. Using the css ids and classes will help you work around the limitation of the h tags.

I hope this answers your question. If you have any more questions or information specific to the issue please leave a comment below so we can further assist you.

Best Regards,
Scott M

To submit a comment on this answer, please first login.

Want to share this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.