Thread: h1 with title
View Single Post
Old 05-09-2008, 01:55 AM   #5 (permalink)
rups
Contributing Member
 
Join Date: 09-17-07
Location: UK
Posts: 186
iTrader: 0 / 0%
Latest Blog:
None

rups is liked by somebodyrups is liked by somebodyrups is liked by somebody
Quote:
Originally Posted by htmlbasictutor View Post
The title tags go in the head section of your web page.
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> <meta name="Copyright" content="Your Copyright Notice" /> <title>Title of Web Page - which appears in the top of the browser</title> <meta name="Description" content="Your web page description" /> <meta name="Keywords" content="Your keywords" /> </head>
The H1 set of tags goes in the body of the web page.
Code:
<body> <h1>Title of the Web Page</h1> <p>Some text</p> </body> </html>
Does this answer your question?

No..this will not generate title. It will show the text at the top of the page.
not in the title bar.

Thanks
__________________
Download trial version of pass-test driving theory test software to get latest DSA questions
----------------------------------------------
Online Training Courses
theory test
rups is offline   Reply With Quote