HTML Help.

Discussion in 'Software' started by Spock96, Oct 8, 2011.

  1. Spock96

    Spock96 Major Geek 'Spocky'

    Hey Guys,
    I'm "playing" around with HTML again. How do you get something to look like this:
    Hello World.

    I like it here.

    Where "Hello World." is the Title and "I like it here." is the body?
    The code I have so far is :
    Where am I going wrong?
     
  2. GermanOne

    GermanOne Guest

  3. PC-XT

    PC-XT Master Sergeant

    There are no head tags.
    Code:
    <html>
    <head>
    <title>
    Hello World.
    </title>
    
    </head>
    <body>
    Hello World, I like it here.
    </body>
    </html> 
     
    Last edited: Oct 8, 2011
  4. Spock96

    Spock96 Major Geek 'Spocky'

    Oh, I guess it's been longer than I thought since I last did this. Thank you.
     
  5. Spock96

    Spock96 Major Geek 'Spocky'

    Well,
    That still doesn't work guys.
     
  6. GermanOne

    GermanOne Guest

    The tiltle is normally what you'll find as header on the tab while all you wrote in the body tag you'll find on the site itself.
    What are you looking for? Something like a line break? Have a look at these possibilities:
    Code:
    <html>
      <head>
        <title>Hello World.</title>
      </head>
      <body>
        <hr /><a href="http://www.w3schools.com/tags/tag_br.asp" target="_blank">line break: <i>text</i>&lt;br /&gt;</a><br />
        Hello World<br />I like it here.
    
        <hr /><a href="http://www.w3schools.com/tags/tag_p.asp" target="_blank">paragraph: &lt;p&gt;<i>text</i>&lt;/p&gt;</a>
        <p>Hello World</p>
        I like it here.
    
        <hr /><a href="http://www.w3schools.com/tags/tag_hn.asp" target="_blank">heading: &lt;h1&gt;<i>text</i>&lt;/h1&gt; ... &lt;h6&gt;<i>text</i>&lt;/h6&gt;</a>
        <h2>Hello World</h2>
        I like it here.
    
      </body>
    </html>
    
    Regards
    GermanOne
     
  7. Caliban

    Caliban I don't need no steenkin' title!

    Good morning.

    Open this test page - once opened in a browser, right-click on the page and view the page source.


    *****

    Mornin', GermanOne - didn't see you lurking there...¦)
     
  8. Caliban

    Caliban I don't need no steenkin' title!

  9. GermanOne

    GermanOne Guest

    Hi Caliban.

    I'm not lurking but I fell out of my bed (even if it's lunch time in Germany, but I like lazing on weekend) and landed up with my nose on the laptop. I was not able to overlook the post. :-D
    Thanks for providing my code on your site.

    Regards
    GermanOne
     
  10. Spock96

    Spock96 Major Geek 'Spocky'

    Thank you guys. I got it now.
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds