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?

  1. HTML stands for Hyper Text Markup Language
  2. HTML is the standard markup language for creating Web pages
  3. HTML describes the structure of a Web page
  4. HTML consists of a series of elements
  5. HTML elements tell the browser how to display the content
  6. 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>

<h1> Hello</h1>

</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

Popular posts from this blog

how to protect your website content?

Dictionary of HTML