:: HOME » HTML » Introduction To HTML
 
Introduction To HTML

HTML code starts with <HTML> tag and close with </HTML>. It is not required but prefer to use them.

 

HTML codes consist of two parts: <head> and <body>. Between <head>…</head> tags, we keep the general information about our WEB site and some features. This part is never presented to user but it affects the WEB site content indirectly. At the coming article More About HEADs , you can find detailed information about it. Between <body>..</body> tags we put the face of your WEB page.

 

<HTML>

<head>

What user don’t see

</head>

<body>

What user do see

</body>

</HTML>

 

About <head> tag, you should know just <title> tag for now. Between <title>…</title> tags, we type the our WEB page title. Open the filename.HTML which you saved before and type the <title> My WEB Site Title</title> and save it. Now open your HTML file and you will see your title on the top of the internet browse.

 

 

Now let's start to learn about <body> tag. Hereby, I will explain basic tags.

 

The tags you don’t have to close

<HR>

 Defines a horizontal line

<BR>

 Defines single line break

 

The tags you have to close

<CENTER> </CENTER>

Defines centered text

<B> </B>

 Defines the bold text

<I> </I>

Defines the italic text

<H1> </H1> <H2> </H2>

<H3> </H3> <H4> </H4>

<H5> </H5> <H6> </H6>

Defines the header text and the numbers defines the font size of the text.

<P> </P>

 Defines the paragraph

 

Now let's learn how to use these tags with an example.

 

<HTML>

<head>

<title> My WEB Site Title </title>

</head>

<body>

<center> <h1> Meeting with HTML </h1> </center>

<h3>Topic Title</h3>

 

<p> We start your paragraph and <b> this part is bold< /b>, <i> this part is italic  </i></p>

<hr>

<p> After we put a line between paragraphs we continue or topic after<br> one line break

</body>

</HTML>

 

There are a lot of HTML tags. In my documents I try to explain you some tags which you use mostly. If you want to see all tags, please check TAG List document.

 

At the end, If you want to add comment in your pages, you can use <!-- comment here --> tags. Between these tags are never presented to users.


HTML Introduction To HTML HTML Introduction To HTML HTML Introduction To HTML
HTML Introduction To HTML
NEW QUESTION
 
Your E-Mail Address
»
Your e-mail will never be shown!  
   
 
Question
»
Please type your question and please use [CODE] tag for your codes!  
  Add CODE Quote BOLD ITALIC Underline Align Left Align Center Align Right Add Line  
   
 
Human Check
»
Enter human check code below!  
   
 
       
 
* Your Question will be answered as soon as possible, probably within 24 hours!
HTML Introduction To HTML HTML Introduction To HTML HTML Introduction To HTML
HTML Introduction To HTML
 
Quaware Internet Solutions And Consulting - SEO Search Engine Optimization, Website development and design, eCommerce, Online Payment Systems, Shopping Cart, Affiliates Website Designer, Search Engine Optimization Expert, Ajax Developer,Developed And Designed By Mumin Celik With Using PHP, MySQL, CSS, JavaScript, Ajax And Search Engine Optimizer Sinema, Film, Ask, Tekgul, Mutluluk