Introduction of HTML ( or Codes of HTML)
HTML is the language of codes that are used to build websites.
HTML stands for Hyper Text Markup Language
What is HTML?
HTML is a commonly used markup language for creating Web pages. HTML stands for Hyper Text Markup Language. HTML contains list of codes/tags. The Codes of HTML and HTML tags are used to structure a web page and its content.
Read Also: Android Secret Codes list
Sample Document of HTML ( Example of basic HTML tags )
Example
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<h1>Heading 1</h1>
<p>paragraph 1</p>
</body>
</html>
List of Basic HTML tags / Codes of HTML
HTML tag list | Usage |
---|---|
<html> Statements… </html> |
|
<head> Statements… </head> |
|
<body> Statements… </body> |
|
<title> Statements… </title> |
|
<h1> Statements… </h1> |
|
<p> Statements… </p> |
|
<em> Statements… </em> |
|
<b> Statements… </b> |
|
<i> Statements… </i> |
|
<small> Statements… </small> |
|
<u> Statements… </u> |
|
<a href=”…”> Statements… </a> |
|
<center> Statements… </center> |
|
<font> Statements … </font> |
|
<IMG SRC=”image.gif”> |
|
<br> |
|
List of tags of HTML / Codes of HTML.
HTML tag “<html></html>”
It is the building tag for HTML. If you are creating an HTML file, you have to use incorporate all your content inside the HTML tag.
Head tag “<head></head>”
Once you open the HTML tag, the head tag should be the first thing to come. It is the tag that does not contain any text but encompasses all the other tags. Tittle, style, Meta, etc. all the tags are written inside it. It is used to describe the content on the website.
Body tag “<body></body>”
Anything which you see on the website is written under this tag. So the content which you want should be visible to people and has to be incorporated into the body tag. One thing to remember is this comes after the head tag.
Title tag “<title></title>”
This tag is used when you want to give a title to your content. The title tag also comes under the head tag. It does not include any other tag inside it. Only text can be written inside this tag.
Heading tags “<h1></h1>”
<h1>Heading 1</h1>
<h2>Heading 2</h2>
<h3>Heading 3</h3>
<h4>Heading 4</h4>
Hyperlink tag <a href=”…”> </a>
This is the hyperlink tag. In this tag, you can pass a link to a page or website where you will like to direct the viewer. It consists of the “href” attribute which is very important as the destination is passed into this attribute.
Read Also: iPhone Secret Codes list
Image tag “<IMG SRC=”image.gif”>”
If you wish to put any image in the HTML files, you can do the same using img tag. You can define the height and width of the image using other attributes inside it and thus, can customize the image according to yourself.
Line Break tag “<br>”
It is the line break command which is used to break the lines inside the file. All it does is to add spacing in the paragraph and ensure that the line following it appears in the new line. There is no closing tag for <be>.
Real Time HTML Code Editor
If you want to Run HTML Codes then You can simply use this live HTML Editor.
We hope you have enjoyed our work, if you like this “IMPORTANT CODES OF HTML” blog then help us to reach more and more people. do check out our blog page for other more interesting articles.