Results 1 to 1 of 1

Thread: How to Add a title to your HTML document?

  1. #1
    Banned
    Join Date
    Jul 2015
    Posts
    161

    How to Add a title to your HTML document?

    step is to add a title to your document. This title will be used in the browser window, allowing your visitors to identify your site, and it will also be used in the search results pages on search engines like Google. Without it, people won’t know what your page is about.
    We’ll also add a header to your page which is visible by your visitors. This is often the same as the page title, but they can be different depending on how you want to structure them.
    Inside the <html> tags, add the following lines:
    <head>
    <title>This is an awesome site! | ncentrictech.com</title>
    </head>
    Now we can go ahead and create a header for your page to tell people about the site. This is done using the <h1> tag. You can also use h2, h3, h4, h5 or h6 depending on what the title is and how important it is.
    Here’s what you need to do:
    <body>
    <h1>Welcome to my awesome website!!</h1>
    </body>
    The <body> tags signal to the browser that this section is the main body of the page and it is required on all web pages for them to function correctly.
    Inside this, we’ve put the H1 heading to welcome people to the site.


    Best Orthodontist in Delhi | Dentist in Delhi
    Last edited by Kiran674; 03-28-2016 at 06:03 AM.

Similar Threads

  1. Replies: 0
    Last Post: 04-16-2014, 09:20 PM
  2. Replies: 0
    Last Post: 04-14-2014, 12:10 PM
  3. AJAX: Getting the title of the loaded html document (jquery)
    By Yuvan in forum Web Technology basics
    Replies: 0
    Last Post: 04-03-2014, 02:50 PM
  4. How to add a title in html select tag
    By Yuvan in forum Web Technology basics
    Replies: 0
    Last Post: 02-01-2014, 02:40 AM
  5. Replies: 0
    Last Post: 11-26-2013, 04:00 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •