HTML page title
|
So far we have covered the basics of an HTML file. If you were only developing HTML pages for your personal use, titles and all the things that go into the header section of your script may not matter as much. However chances are that you want to develop a set of pages that you want search engines such as google and yahoo or bing and may others to find, index and make it easier for your intended audience to find your site. That is where the part of your page plays a bigger role.
Title in HTML header
Perhaps the most important tag in the head section is the title. This gives your page a name. This part tells the browsers and search engine spiders what your page is about. Using content of your page header, they evaluate to see if the content you put in the is relevant to the information you specified in the header. Bellow is an example of how you can assign a title to your HTML page:
<html> <head> <title> This is my HTML page title </title>
</head> <body> This is where you put text and images visible to the human user. </body> </html>
Note here that the page title is displayed at the top bar or title bar of your browser, but not as part of the content. Now, if somebody were to bookmark your page, that bookmark will carry this title as a name. We will be exploring other elements of the html head section shortly.
|
RELATED ARTICLES: Combining PHP and HTML in one script As we have discussed in the Introduction to HTML posting, HTML is mainly a presen
Dealing with HTML forms
HTML forms are used to acquire and work with user input. As you may have noticed in the scripts we have used so far, every variable that was meant to hold user input had been given a value within that script. To get the actua
Introduction to HTML HTML is a computer language used to create websites. The fact that you are looking at this page, means you are also looking at the outcome of html code. It is relatively easy to learn, with the majority of what you really need to know being readily available and for free on the internet.
html reference
| |
|