08-20-2016, 12:16 AM | #1 |
Registered User
Join Date: Aug 2016
Posts: 28
|
How to Add a title to your HTML document?
The next 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.
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
XML Ves HTML | Christinaj | HTML / DHTML | 3 | 02-17-2022 10:02 AM |
How to avoid site title after page title? | ryanrajpoot | Search Engine Optimization | 1 | 04-11-2015 05:00 AM |
Coach Web site SEO - Terrific Title Tags | theshawnchin | Search Engine Optimization | 1 | 01-21-2013 10:25 PM |
HTML 5 and HTML 4 | johnhedberg3 | HTML / DHTML | 3 | 06-16-2012 04:08 AM |
1.Basic distinguishing features of HTML 4 and HTML 5 | rooseveltjobs | HTML / DHTML | 0 | 04-12-2012 10:00 PM |