Friday, 4 August 2017

,

HTML: The basic TAGs in HTML structure for the beginners only - arcreationsweb



HTML

the HTML is stands for "hyper text markup language". and all knows HTML is a building block of web pages and it is used to simply markup a document with tags that tell a web browser how to structure it to display.
originally the HTML was developed with the structure of documents like Heading,Paragraphs,lists and so on.






HTML TAGS
the HTML tags are very important because without this the HTML can't made so, its important
and its use so, many tags to format the content.these tags are enclosed with angle braces like that
<tag name> .except few tags ,most of the tags have their corresponding closing tags ,for example <HTML> has its closing tag                
</HTML> and <body> tag has its closing tag </body> tag etc.

HTML document uses the following tags:


<!DOCTYPE....>  = this tag defines the document type and HTML version.
<html>                   = this tag encloses  the complete HTML document and mainly comprises of                                              document header which is represented by <head>.........</head> and document                                       body which is represented by <body>......</body> tags.
<head>                   = the tag represents the document body which contain other HTML tags like                                             <h1> ,<div>,<p> etc. 
<h1>                       = this tag represents the heading.
<p>                         = this tag represents a paragraph.


  1.                              HTML document structure like this:-



<html>
         <head>
             ARCREATIONSWEB
  </head>

<body>
             it is mainly related with tags

</body>
</html>


 the <!DOCTYPE> declaration.

HTML

this tag is used by the web browser to understand the version of the HTML used in the documents and we know the latest version of HTML is HTML 5.
               <!DOCTYPE html>





heading tag.

HTML





this is a important tag in HTML every paragraph have some heading without heading you cannot start a topic so, in this tag it provides heading tags .it provides different types of heading and we know HTML is also has 6 types of headings, which use the element of <h1>,<h2>,<h3> so, these are the following headings.

<html>
         <head>
  <title>arcreationsweb</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>
</body>
</html>



       Paragraph tag.



HTML

the <p> is used to make a structure into different paragraph.each paragraph of text should go on between opening<p> and closing</p> tag.

   <html>
         <head>
  <title>arcreationsweb</title>
 </head>
<body>
         <p> first paragraph</p>
         <p> second paragraph</p>
         <p> third paragraph</p>
         <p> fourth paragraph</p>
</head>
</html>



  Line break tag.


HTML

this <br/> is used to break the line between the paragraph or the paragraph is starts from the next line and this tag is also known as empty element where we does not used to opening and closing tags.

   <html>
         <head>
  <title>arcreationsweb</title>
 </head>
<body>
<p>hello <br/>
i am Rohit<br/>
and i am working in arwebcreations</p>
</body>
</html>


  horizontal tag.

HTML


the <hr> tag create  line from the current position in the document to the right margin and break the line accordingly. it is also known as empty tag because it does not require opening and closing tags.

 <html>
         <head>
  <title>arcreationsweb</title>
 </head>
<body>
<p>hello this is a paragraph 2</p>
<hr/>
<p>hello this is a paragraph 1</p>
</body>
</html>.



any query please contact us at arcreationsweb.com

THANK YOU

Rohit Pandit
(co-founder at arcreationsweb.com)
writer and editor.











Share:

0 comments:

Post a Comment

JOIN OUR DISCUSSION CORNER...