Do you surf the Web?
daily ? or weekly?
Do you know How a website is built?
If not then you are landed at the correct webpage.
Now within a couple of minutes you will know how websites are built.
What is a Website
As the name suggest "Web" that is a web not the spider's web
but a group or various networks connected together.
And "Site" In real word it refers to place and in web-world
it also refers to virtual area having webpages.
A webpage is just a page that provides information with the help of images text or animations.
And the best example you knows it already.
Like Google and Facebook Which you use to surf with your browser.
Now you already know that a browser is an application software which is use to surf the websites.
Now let's move on the cool thing.
How a Webpage is Built
A webpage is basically built using HTML. There are other scripting languages too which are used to make a webpage interactive but
as starting with basic here I will focus on HTML.
So What's HTML stand's for?
HTML stands for Hyper Text Markup Language
Basically It's name says that HTML is a language which focus on Structure having Links to another webpages.
In detail The HTML Says
As your name has some meaning My name also
Hyper Text- It stands for the Text which is clicable and can take you to another webpage.
Markup - I am all about the structure. HTML use me to create Structure.
So what's The structure Now?
As Like our body has a structure. We have head and body.
Like that a webpage also have
so basically there are 2 parts of HTML Head and Body.
As Head is an essential part of our body and we have a brain in It which knows everything about our body like that HTML
Head is a part of webpage which knows all about the webpage like it's title , and other information regarding to the webpage decoration and other effects.
And Body is the part where Information is feed which is to be displayed by the browser.
And all the part head and body are inside the HTML .
So let's create your first webpage.
To create an HTML page first you need a computer; You already have! then a notepad or a text editor. Then you are ready to create an HTML webpage
So here's your first Webpage
type the following code to your text editor
<html>
<head>
<title> MY First Webpage </title>
</head>
<body>
Hello Word I am having My first Webpage here. It's so easy and interesting.
</body>
</html>
and then save it as "My first webpage.HTML"
Now are you thinking What is This above thing and what it mean.
The Whole HTML works on tags <html> these things inside the angle brackets <> are tags each tag mean a specific thing to browser.
That means The file that you saved as My First Webpage.html is understood by the browser.
The browser reads the instruction inside and interprets them and display it according to them.
As above I had told you that there is a head and body inside the HTML so we began with
<html> tag
After that Head comes <head> and you know every information is inside the head as told earlier so The title of the webpage will
lie inside the head with <title> tag.
What is than </title> there.
Every tag that is opened needs to be closed in HTML followed by slash / so that browser can understand that it's the end and will display
the thing which will be there between opening and closing tag.
Similarly head is closed</head>
And after that body is started With <body> tag and inside it We typed the message which will be displayed by the browser.
and at last we close the </body> and then </html>
So As I told that the whole HTML is the world of tags and each tag provides a specific meaning to the browser.
So tomorrow Some more Important Tags will roll In.
Till then Experiment With these simple codes. This was the only introduction.
The real thing will come up In the next post.
If you have any suggestions regarding to simply more about HTML then please comment here. I will be very happy to update it for my readers.
0 comments:
Post a Comment