Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7976107
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T08:50:05+00:00 2026-06-04T08:50:05+00:00

So the default html document is a long text interspersed with <H#> tags, which

  • 0

So the default html document is a long text interspersed with <H#> tags, which hides the outline of the document. I think it would make more sense to have the outline view represented in the document itself.

So instead of

<h1>1 foo</h1>
<p>bar
<h2>1.1 subfoo</h2>
<p>bleep

I would prefer something like

<ol>
  <li><heading>foo</heading>
    <p>bar
    <ol>
      <li><heading>subfoo</heading>
        <p>bleep
    </ol>
</ol>

Is this a good way to do it? How should I style this with CSS?

Will this break things, like screen readers, search engines, anchor links?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T08:50:07+00:00Added an answer on June 4, 2026 at 8:50 am

    HTML5 has a very nice way of doing that:

    <section>
        <header>1. Foo</header>
    
        <!-- Content here -->
    
        <section>
            <header>1.1. Subfoo</header>
    
            <!-- More content here -->
        </section>
    </section>
    

    Then, to style the different levels, it’s just:

    section header {
        /* Header 1 */
    }
    
    section section header {
        /* Header 2 */
    }
    
    /* And so on... */
    

    And no, it shouldn’t break anything.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a programmatically created HTML document on which I would like to show
The documentation lists the tags that are allowed/removed by default: http://www.feedparser.org/docs/html-sanitization.html But it doesn't
Sample HTML Data <body style=width:300px;> <h3>Long-Text</h3> A simple tool to store and display texts
I have an HTML document, which loads content from a PHP file using an
I'm attempting to make a PDF from a HTML document, and this document has
<script type='text/javascript'> $(document).ready(function() { $(#specific_consultant_yes).click(function() { $('.specific').show('slow'); $.post(<?php echo $this->url(array('controller'=>'appointment', 'action' =>'available'),'default',true)?>,{app_date:$(#App_date).val(),consultant:$(#Consultants).val()} ,function(data){ $(.new).html(data);
Checking the datagrid example here http://www.silverlight.net/content/samples/sl4/toolkitcontrolsamples/run/default.html see the datagrid section It says that if
I was reading this today: http://python.net/~goodger/projects/pycon/2007/idiomatic/handout.html#default-parameter-values and I can't seem to understand what's happening
I'm trying to set my default page to Index.html on an ASP.NET site running
I'm trying to display the page title (html title) on the default.aspx page of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.