Friday 2 December 2016

Chapter 1(HTML) What is HTML Language? How to Write a Basic Program in Html?

HTML stands for HYPER TEXT MARKUP LANGUAGE .This language is mainly used for creating web pages which we can run on internet .HTML Language is basically used to create the structure of website .we can make a normal website with the help of HTML Language.
We can write the coding of HTML Language in notepad and store it with the extension.html for example one.html.

HOW TO WRITE A PROGRAM IN HTML❔❔❓

PROGRAM

<html>
<head >
<title>
welcome
</title>
</head>
<body>
hello

</body>

</html>

EXPLANATION

There are certain predefined tags which we used to write a coding in html.We can start the program with html tag <html> after that we define head tag like <head > in head tag we use title tag and give a title name like welcome .title name we can see  on browser tab after that we close title tag like</title> .
After that we declare the body tag like <body> .All the main coding of the program will be written inside body tag .In this program we write  hello and after that we close body tag like </body> and after closing body tag we close main html tag like </html> and save the program with extension html like we save this program as one.html and save it after saving we see than it sees as a web page.Double click on that to open it and see the output.

OUTPUT



No comments:

Post a Comment