HTML stands for Hyper Text Markup Language. It is a language understand
by web browsers, hence we can say that it is internet language. One can
make Web pages using HTML. In HTML we use CSS for styling purpose. We
also use Java Script for programming purpose. Basically four languages
HTML, CSS, JAVA SCRIPT and PHP are used for web development. But all
these are apart from our subject of this article. In this article I will
tell you basic Tags of HTML.
Head tag gives information about the Document.Title is written between the closing and opening tag of Head. This Tag describes about document and shows contents above the body tag. After Head Body tag is used.
DOCTYPE Deceleration Tag:-
It describes the type of document while starting HTML content we first of all write type of document which is called DOCTYPE deceleration. For HTML we write this tag as:<!DOCTYPE html>after that we proceed to write HTML. But know this tag is not necessary as all browsers understand type of document without DOCTYPE deceleration. You can apply that tag if your browser is not understanding type of docoment.
HTML Tag:-
Between HTML tag whole HTML content is written. We have to apply opening and closing tag of HTML before and starting HTML docoment.Opening Tag:-
<html>
Closing Tag:-
</html>but this is also not necessary now a days. But you should apply that tag for precision.
Head Tag:-
Head tag gives information about the Document.Title is written between the closing and opening tag of Head. This Tag describes about document and shows contents above the body tag. After Head Body tag is used.Starting Tag:
<head>
Ending Tag:
</head>
Title Tag:-
This tag simply is used for assigning title to page as name implies. Every thing written between starting and ending tag of title is your title of webpage which will show on the tab after the favicon.Starting Tag:
<title>
Ending Tag:
</title>
Body Tag:-
Between starting and ending tag of body whole text is written which is visible. After title of webpage whole content is written between the body tag. In Body tag you can further use all tags for html for example Heading tag, tags used for styling writing, link tag and much more.Starting Tag:
<body>
Ending Tag:
</body>
Structure Of HTML page:
<!DOCTYPE html>
<html><head><title> Title </title></head>
<body>
Content Written for visibility, with further tags</body>
</html>
0 comments:
Post a Comment