Jump to content

Recommended Posts

Posted (edited)

Hello Guys !!! , 

 

For those who asks about  What's HTML (HyperText Markup Language) 
So it's markup language to Create websites 

Did You ask  oneday how they  Create A website ?
: Well we can't Create a Website only with HTML there are other languages like CSS and JAVASCRIPT those will be explained in the next Topic i hope  
you can't learn any of them without knowing HTML 

Let's Start :

NOTE : the symbole : <> its the open tag and </> is the close tag : u will learn  about it later 

HTML Files are text files , so you can use any text editor (for me i chose notepad) 
The structure of an HTML document has been compared with that of a sandwich. As a sandwich has two slices of bread, the HTML document has opening and closing HTML tags. These tags, like the bread in a sandwich, surround everything else:

Quote

<html>
...
</html>


Immediately following the opening HTML tag, you'll find the head of the document, which is identified by opening and closing head tags. 

Quote

<html>
<head>

<
/head>
<
/html>

If you want To set your Website title just  add the title tag and the name you want IN HEAD TAG

Quote

<html>
<head>
<Title> name of the website </title>
<
/head>
<
/html>


The body tag follows the head tag.All visual-structural elements are contained within the body tag. Headings, paragraphs, lists, quotes, images, and links are just a few of the elements that can be contained within the body tag

Quote

<html>
<head>
</head>
<body>
</body>
</html>

Add the basic HTML structure to the text editor with "This is a line of text" in the body section :

Quote

<html>
<head>
</head>
<body>
This is a line of text. </body>
</html>

To create a paragraph, simply type in the <p> element with its opening and closing tags:

Quote

<html>
<head>
<title>first page</title>
</head>
<body>

<p>This is a paragraph. </p>
<p>
this is another paragraph</p>
</body></html>

DownloadFile?id=2529   

To format your text you can use : 

Quote

<html>
<head>
<title>first page</title>
</head>
<body>
<p>This is regular text </p>
<p>
<b> bold text </b></p>
<p>
<big> big text </big></p>
<p>
<i> italic text </i></p>
<p>
<small> small text </small></p>
<p>
<strong> strong text </strong></p>
<p>
<sub> subscripted text </sub></p>
<p>
<sup> superscripted text </sup></p>
<p><
ins> inserted text </ins></p>
<p>
<del> deleted text </del></p>
</body>
</html>

Result : DownloadFile?id=2531

 

HTML includes six levels of headings, which are ranked according to importance. These are <h1>, <h2>, <h3>, <h4>, <h5>, and <h6>.The following code defines all of the headings:

Quote

<html>
<head>
<title>first page</title>
</head>
<body>

<h1>This is heading 1</h1>
<h2>This is heading 2</h2>
<h3>This is heading 3</h3>
<h4>This is heading 4</h4>
<h5>This is heading 5</h5>
<h6>This is heading 6</h6>
</body>
</html>


Result :DownloadFile?id=2532

To Open ur website  Save your notepad in all documents type
with a name : for e.g : ZeTvvIn.HTML (dont forget .HTML)

any misunderstanding contact me in PM 
the next topic i will show u other things about HTML

Edited by Ze Tvv(I)n
  • I love it 1
  • Like 2
Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.