Know the Basics of HTML

HTML (Hypertext Markup Language) is a progamming language for web page aplication. Tags and elements are the main characteristics of the HTML language.

Basics of HTML
Basics of HTML

A. Elements

1. HEAD = element tagsto provide information about an HTML document, such as title of a web page, descripsi site, keywords and etc.
2. BODY = element tags to determine the content that will be displayed by browsers such as paragraphs, lists, tables, and etc.


B. Tags

HTML tag is expressed with sign "<" and ends with ">". Most of the HTML code contained between container tag, Means, there's opening tag "<body>" and closing tags "</body>.
But there are some tags not use closing tags for examples <br> tags.

Container tags examples :

<table>

<tr>

    <td> This is for example </td>

<tr>

</table>


Examples without closing  tags:

<image src="myfoto.gif">
<br>


There are three main tags in HTML :

1. <HTML> : HTML document states function.

2. <HEAD> : functions to provide information about the HTML document.

3. <BODY> : functions to provide information and data to be displayed.


HTML writing in general is as follows:

<HTML>
  <HEAD>
        .....
        .....
        ....
   </HEAD>
<BODY>
   ......
   ......
   ......
</BODY>
</HTML>

C. Attribute

Sometimes, each tag have own attributes to define the display of information or form tag used on <image> tag have an attribute "scr" as an image file information that you want display.   
Previous
Next Post »