Question:

Need some HTML help for a title that won't show up!?

by  |  earlier

0 LIKES UnLike

Ok I have this final project I'm working on and I have to have a title in my html. However everytime I try to insert a title tag I not only do not get a title, I lose the first heading.

This is what the beginning of the document looks like so far. <html><b><h1> Using a Network</b></h1>

How do I insert the title "Web Page Final Project" without losing my heading? Is the <html> tag redundant or do I need it there in order for the page to show up online?

My project is due on Sunday and I have everything else figured out so far, except that. I have tried the title tag my instructor showed us but for some reason it didn't work.

 Tags:

   Report

3 ANSWERS


  1. Title is what appears at the top of your browser/in bookmarks - the Title itself will not appear on the page. Also you&#039;re missing a bunch of code before you start your heading tag.

    &lt;html&gt;

    &lt;head&gt;

    &lt;title&gt;Browser Title Goes Here&lt;/title&gt;

    &lt;/head&gt;

    &lt;body&gt;

    &lt;h1&gt;Main Heading of your Page&lt;/h1&gt;

    &lt;/body&gt;

    &lt;/html&gt;

    That&#039;s what you want I think.


  2. Check out the website in the sources I listed, it will teach you all about html syntax and formatting. I&#039;m a little confused by what you are referring to as a &quot;title&quot;. If you are reffering to a title as something kinda like the Yahoo logo when you hit the main page, then you want to place it in-between the &lt;body&gt; &lt;/body&gt; tags. so that it would look like:

    &lt;html&gt;

    &lt;head&gt;

    &lt;title&gt;

    &lt;/title&gt;

    &lt;/head&gt;

    &lt;body&gt;

    &lt;b&gt;&lt;h1&gt; Using a Network&lt;/b&gt;&lt;/h1&gt;

    &lt;/body&gt;

    &lt;/html&gt;

    But just a FYI, &lt;h1&gt; with &lt;b&gt; is kinda redundant as a H1 heading is already huge! The actually title tags that i have listed are actually the text that you see at the very top of your web browser, they are what web developers refer to as the title. Hope this helps!

  3. Do Not use &lt;b&gt; tags around the &lt;h1&gt;, that is very bad practice. Styling should be handled by CSS, :(

    Anyway, Its hard to see whats your doing wrong without the full document.

    *Are you including &lt;body&gt; tags?

    Try this:

    &lt;html&gt;

    &lt;head&gt;

      &lt;title&gt; This text will appear in the browser bar on top

      &lt;title&gt;

    &lt;/head&gt;

    &lt;body&gt;

    &lt;h1&gt;Web Page Final Project&lt;/h1&gt;

    &lt;h2&gt;Using a Network&lt;/h2&gt;

    &lt;p&gt;This is where your paragraph would go&lt;/p&gt;

    &lt;/body&gt;

    &lt;/html&gt;

Question Stats

Latest activity: earlier.
This question has 3 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.