HTML is a means of presenting information in the World Wide Web in a beautiful and attractive way. HTML was created in 1991 by Tim Berners lee. HTML is managed as a standard by the World Wide Web Consortium (W3C). The W3C is an international community that works to create and manage web standards.
When a technology or language is chosen as the standard, all platforms, developers and organizations follow it unconditionally. It does not matter which operating system or editor you are using, HTML is always used to create webpages.
HTML TAGS
Basic tags are tags that are essentially used in all HTML documents. These tags define the core structure of an HTML document. The list of basic tags of HTML is given below.
• <html> - This tag defines an HTML file. Every HTML file is started with this tag and ends with this tag.
• <head> - This tag defines the scripts and styles related to the webpage.
• <title> - The title of the webpage is defined by this tag.
• <body> - The main content of the webpage is defined in this tag.
BASIC HTML FORMAT
<html>
<head>
<title>Title of your webpage</title>
</head>
<body>
Main content of your webpage here
</body>
</html>
<head>
<title>Title of your webpage</title>
</head>
<body>
Main content of your webpage here
</body>
</html>
WRITING YOUR FIRST HTML PROGRAM
<html>
<head>
<title>My First Webpage</title>
</head>
<body>
<h1>My First Webpage</h1>
</body>
</html>
In addition to the basic tags in this program, only the <h1> tag has been added to the <body> tag. This tag shows the text as heading. Write this program in your text editor.
Interpreting your HTML Program
To see any HTML program / code as a webpage, first you have to save it with .html extension. By default text editor, when you save a file, it is saved with .txt extension. Therefore, while saving the HTML file, you have to place an .html extension in front of its name.
NOTE: For creating this program you will notepad++ text editor, as I had alredy suggested you or else you can use the pre installed notepad text editor

No comments:
Post a Comment