I started this story from when I was laughing with friends, friends and love.

Wednesday, November 9, 2011

Basic HTML

1st.

Hypertext Markup Language (HTML) is the basis to create a web page. Documents and applications that can run on top of a web browser generally has a format hypertext markup language (HTML). Although now there are many tools or software that can be used to design a page in WYSIWYG (what you see is what you get), so what you see is what you would get like frontpage, dreamweaver, Adobe GoLive, etc.. But you must keep control over HTML because HTML is fundamental if you want to learn and explore more about web programming. This shows that it is very important to learn the basics of HTML. Therefore, to be able to do the programming applications over the web you must first master the HTML.

2nd. Struktur HTML

Any document or HTML page has the structure or arrangement of files as shown in the following example:



<html>

      <head>
            <title> Website Title </ title>
      </ head>
            <body>

                  Content: Text, image, voice and others.

            </ body>
</ html>

As shown, the structure of an HTML file begins with a tag <html> and closed with </ html>. Inside this tag there are two major parts, which is flanked by <head> tag ... </ head> and <body> ... </ body>.

The header of the HTML page <head> tag and flanked by this section is not displayed in the browser. This section contains the header tags such as <title> ... </ title>, which serves to show the title on the title bar of your web browser window. Another example <META> tag and other tags which we will study next.

The second part is flanked by the body tag is the part that will be displayed on a browser web page later. In this section you can write all kinds of information in different formats such as text or image you want to convey to the user later.
 Examples are created using notepad

HTML


3rd. Basic Use of Tag

HTML tags are generally in the form of tags that are in pairs and flanked by the symbols <and>. Spouse or closing command of a tag marked with a /. example is the pair of tags <example> </ example>.

Some tags have been used in the example HTML code above. Now let us recognize that the fundamental things about the tag. Each tag has a name, a name tag written in the signs <and>. Between the tag name and the sign <is written without spaces at all. Name tags can be written with small letters, capital or mixed. There are some tags that use attribute in it. Example: <p align="center">, in this case P is a name tag, while the align attribute is the name and the center is the attribute value.

4th. Comments on HTML

Records are part of HTML code that is ignored by the browser. Usefulness notes / comments in the HTML code as a useful description for the code reader. For example, records are used to provide a record of anything and can even include a few lines.

<html>

       <head>
             <title> Hi </ title>
       </ head>
<body>

<! - Note -> I Moderate Learning HTML

</ body>
</ html>


5th. Use of Tag Break Row
This tag is used to decrease the text as much as we want, in other words the same as one tag <BR> you press the Enter key once. To more clearly now consider the following example:

<html>
       <head>
             <title> learning br tag </ title>
       </ head>
 
<body>
 
We learn to use <br> breakrow.
 
</ body>
</ html>

6th. Use of Paragraph Tags

<P> Tag allows you to create a paragraph. Paragraph spacing / tek first paragraph / second tek you use the same tag twice <br>. For more details see the example below.

<html>

        <head>

                learn <title> paragraph tag </ title>

        </ head>

<body>

Twilight Has Arrived <p>
Increasingly dim sun <br>
Samar on the sidelines of evergreen leaves <br>
The wind began to blow from the ocean <br>
A sign of the night has come

</ body>


</ html>

0 komentar:

Post a Comment