1. This website uses cookies. By continuing to use this website you are giving consent to cookies being used.
    For information on cookies and how you can disable them visit our Cookie Usage page.
    Dismiss Notice

HTML html coding for a FAQ page

Discussion in 'Web Development' started by texan203, Aug 21, 2010.

  1. texan203

    texan203 New Member

    This is a simple FAQ page written in HTML. It does not work, where have I gone wrong? Please help :confused:


    <html>
    <title>
    </title>
    <header> </header>
    <body>
    <p> <strong>FREQUENTLY ASKED QUESTIONS</strong></p>
    <p>&nbsp;</p
    <p><a href ="Question1">1. How do I do this? </p>
    <p><a href="Question2"> 2. I need help. </p>
    <p><a href="Question3">3.Is this right?</p>
    <hr/>
    <&nbsp;</p>


    <p><strong> Answers </strong></p>
    <p><a name="Question1"></a>1. I have no idea. </p>
    <p><a name="Question2"></a>2. this is looking great.</p>
    <p><a name="Question3"></a>3. a finishe product </p>






    </body>
    </html>
     
  2. tomw

    tomw Member

    Try this:

    Code:
    <html>
    <title>
    </title>
    <header> </header>
    <body>
    <p> <strong><a name"top">FREQUENTLY ASKED QUESTIONS</a></strong></p>
    <p>&nbsp;</p
    <p><a href ="#Question1">1. How do I do this? </p>
    <p><a href="#Question2"> 2. I need help. </p>
    <p><a href="#Question3">3.Is this right?</p>
        
    <hr/>
    <br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br
       /><br /><br /><br />
       <br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br
       /><br /><br /><br />
    </p>
    <p><strong> Answers </strong></p>
    
    <p><a name="Question1">1. I have no idea. </a></p>
    <br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
       <br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br
       /><br /><br /><br /><a href="#top">Top</a>
    <p><a name="Question2">2. this is looking great.</a></p>
    <br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
       <br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br
       /><br /><br /><br />
       <a href="#top">Top</a>
    <p><a name="Question3">3. a finishe product </a></p>
    <br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
       <br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br
       /><br /><br /><br /><a href="#top">Top</a>
    </body>
    </html>
    Here is a test
     
  3. Mimoun

    Mimoun Administrator Staff Member Director Verified Member

    Your code has many errors here are some I can spot right away:

    - header tag has to be head
    - title tag has to be in the head tag
    - close and open all paragraphs correctly <p></p>
    - all attributes need an "is equal" symbol example name="top"
    Something like this to remove the errors:

    Code:
    <html>
    <head>
     <title>my title text</title>
    </head>
    <body>
    <p><strong><a name="top">FREQUENTLY ASKED QUESTIONS</a></strong></p> <p>&nbsp;</p>
    
    .............
    
     
  4. texan203

    texan203 New Member

    Thank you TomW

    I appreciate you help so very much!!! May I:) paste and copy and use your coding as a template for my own use?
     
  5. ishkey

    ishkey Moderator, Logos, Sports Crests Staff Member Verified Member

    You might want to review this code -
    Code:
    <body>
     [COLOR="Red"]<a name="totop"></a>[/COLOR]
    		<p> <strong>FREQUENTLY ASKED QUESTIONS</strong></p>
    <p><a href="[COLOR="Red"]#[/COLOR]Question1">1. How do I do this?[COLOR="#ff0000"]</a>[/COLOR] </p>
    <p><a href="[COLOR="#ff0000"]#[/COLOR]Question2"> 2. I need help.[COLOR="#ff0000"]</a>[/COLOR] </p>   
    <p><a href="[COLOR="Red"]#[/COLOR]Question3">3.Is this right?[COLOR="#ff0000"]</a>[/COLOR]</p>
    <hr/>
    <br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br
       /><br /><br /><br />
       <br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br
       /><br /><br /><br />
    
    
    <p><strong> Answers </strong></p>
    <a name="Question1"></a><p>1. I have no idea. </p> 
    <a name="Question2"></a><p>2. this is looking great.</p>
    <a name="Question3"></a><p>3. a finishe product </p> 
    [COLOR="Red"]<a href="#totop"><p>up</p>[/COLOR]
    </body>
     
  6. texan203

    texan203 New Member

    Thank you

    I appreciate you help