Thursday, January 25, 2018

Body Head & Title of html 5





<body>

You met the <body> component in the principal illustration we made. Everything inside this component is appeared inside the fundamental program window.

<head>

Before the  <body> element you will often see a  <head> element.This contains information
about the page (rather than information that is shown within the main part of the browser
window that is highlighted in blue on the opposite page). You will usually find a  <title>
element inside the  <head> element.

<title>

The contents of the  <title> element are either shown in the
top of the browser, above where you usually type in the URL of
the page you want to visit, or on the tab for that page (if your
browser uses tabs to allow you to view multiple pages at the

same time).


  <html>
<body>
<title>
This is the Title of the Page</title>
</head>
<h1>
This is the Body of the Page</h1>
<p>
Anything within the body of a web page is
displayed in the main browser window.
</p>
</body>
</html>

Output:
  This is The Body of Page

Anything within the body of a web page isdisplayed in the main browser window











0 comments:

Post a Comment


Top