HTML
(Hyper Text Markup Language):-
1. Html
is a Presentation Language. Introduced by Tim Berners Lee in 1990
2.
Html is Used to Present the data in web
it Comprises of a Collection of Commends enclosed in “< >” Known as tags
and elements.
3.
The Latest Version HTML 5 is available
from the Venders W3C and WHATWG(Web Hypertext Application Technology Work
Group)
4. The
Basic html5 elements are
Element
|
Description
|
< !DOCTYPE html >
|
Defines the HTM Version 5
|
< html > < /html >
|
Defines the Start and end of html
documents
|
<head> </head>
|
Defines the head section of a page
with Comprises of title, link, Meta etc….
|
<title> </title>
|
Title to be displayed in the title bar
of Browser.
|
<link>
|
Links external files to the web Page
link CSS, JavaScript, Favorite icon, etc...
|
<Meta>
|
It describes the Meta data that is the
Information about the web from
|
<body> </body>
|
Defines the Content to be displayed in
the Browser Window.
|
Creating
simple static page using HTML5:-
1. Create
a New web site on IIS by Name “myfirstwebsite”
2. Open
Notepad and type the following code
<! DOCTYPE html>
<html>
<head>
<title> My First Website</title>
<link rel=”shortcut icon”
href=”mfw.ioc”>
<meta charset=”utf-8”>
<meta name=”keywords”
content=”welcome to My First Website”>
<meta name=”description”
content=”First Website now showing…..”>
<meta http-equiv=”refresh”
content=”30”>
</link>
</head>
<body>
<h1> Welcome to My First
Website</h1>
</body>
</html>
3. Save
the file in website Physical path by name “index.html”
4. Open
Browser(Internet Explorer / Chrome)
5. Type
the following URL
http://localhost/myfirstwebsite