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.
- HTML document structure like this:-
<html>
<head>
ARCREATIONSWEB
</head>
<body>
it is mainly related with tags
</body>
</html>
the <!DOCTYPE> declaration.

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>
<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.
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.

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.
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.




0 comments:
Post a Comment
JOIN OUR DISCUSSION CORNER...