HTML Basic knowledge
Before starting to use HTML codes, let us learn a little about HTML.
What is HTML? & Why do we need to learn it?
- HTML stands for Hyper Text Markup Language
- HTML is the standard markup language for creating Web pages
- HTML describes the structure of a Web page
- HTML consists of a series of elements
- HTML elements tell the browser how to display the content
- HTML elements label pieces of content such as "this is a heading", "this is a paragraph", "this is a link", etc.
Here is an example:
<html>
<head>
<title>Page Title</title>
</head>
<body>
<head>
<title>Page Title</title>
</head>
<body>
<h1> Hello</h1>
</body>
</html>
</body>
</html>
{Result: Hello}
First create a text file(.txt) in computer or any other devices then open the file then just paste/type the codes in green colour. Now save the file and rename the extension from '.txt' to '.html'
Now open the file in any browser and your first page with html is ready.
Next we will learn about the tags {<>} used in html coding.
Comments
Post a Comment