BASICS OF HTML
Learning HTML is all about learning how to use tags. In HTML the tag itself is self-explanatory and the only thing we should do is to place them correctly. So let's begin learning it with the following example
<!Doctype html>
This is not a HTML tag but this is the information to the browser to what document to expect.
<html>
HTML tag is the main tag and all other HTML elements come under this.
lang is used to input the language in which your webpage is written so that the search engine gets an idea about it.
<head>
this tag provides further more details about the webpage.it is inside this container that you provide title,style-sheets, scripts etc.
<title>
Under this tag you can give the title that you wish to show in your browser.
<body>
it is under the body tag that we build the webpage of our choice.
<h1>
It is a heading tag and we'll learn more about in the upcoming posts.
A tag for example <html> is closed </html> likewise. All tag once open should also be closed.
Comments
Post a Comment