Introduction of html
HTML stands for hyper text markup language which is used to display content on website. This is composed of standard markup tags(<html>,<head>,<body>,<h1>,<p>,<div> etc).
html programme is written on standard text editor and we save programme with .html or .htm extension.
Root element is known as <html>.This is further divided into two parts <head> and <body>.
In html every tag has closed tag also.</html>,</body>,</html>
General syntex
html programme is written on standard text editor and we save programme with .html or .htm extension.
Root element is known as <html>.This is further divided into two parts <head> and <body>.
In html every tag has closed tag also.</html>,</body>,</html>
General syntex
<html>
<head>
declaration and include syntex for general file and javascripts.
</head>
<body>
main content of page
</body>
</html>
from above syntext we can say html is divided into two categories.
- Head section
- body section
Head section : This section contain special types of information about html page. We refer this information as
- Title of page : this tells title of page.
- Meta tags : this is used for search engine.
- internal css and external css links :this is used for decoration of page.
- internal javascript and external javascript links : this is used for client side effects.
- jquery related links etc.
Body section : This section is used to define page content. What material we want to show users.
- Simple text
- Image
- Audio
- Video
- Another page link etc.
No comments:
Post a Comment