View Single Post
Old 08-20-2016, 12:16 AM   #1
donaldfagen16
Registered User
 
Join Date: Aug 2016
Posts: 28
Exclamation 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.
donaldfagen16 is offline   Reply With Quote