Hi guys, I am back with my second post. I know my second
post took a little while to come. But, from now onwards it will be on time.
So, previously what we learned was just an introduction to
web development and a brief description about the languages which are used for designing
website, publishing a website, programming a website and also managing it.
Now, the first language which I took on which I am going to give
you guys some knowledge is HTML.
The basic, easiest and the most important language to learn
if you want to make websites.
I will be giving you tutorials on the latest version of html
that is, html 5.
HTML TAGS
Tags are the labels which are used to mark the beginning and
end of the element.
EXAMPLE:
<html>, <head>, <title> etc.
HTML DOCUMENT STRUCTURE
HTML document structure is the syntax that we use for
developing a website using html 5.
OUTPUT:
·
The <!DOCTYPE> tag used in the beginning
of the structure represents the version of html. The tag used in the above
example is of html 5.
·
<html> tag is used to start an html page
and </html> to end the html page. Without this tag we cannot start or end
a html page.
·
<head></head> tag is used to
describe the content of the document.
Head section includes following
tags about which I will give you a brief description for now. But, I will
explain you in the next post. So, the following tags are:-
BASE – it specifies a base URL for
all relative URLs contained in the document.
LINK – it defines the relationship
between the current document and other documents or resources.
META – it provides general
information about a document for indexing and other purposes.
SCRIPT – contains statements in a
scripting language that are to be processed on the client side.
STYLE – contains CSS style
information that’s embedded into a page.
TITLE – defines title of the web
page.
·
<body></body> tag is used to create
body of the web page. This tag comes after the head tag.
In this post I
introduced you all to the basic html document structure. In the next post I
will be giving you some knowledge
about the basic formatting tags used in html 5. So, stay tuned for gaining some
knowledge.
Comments
Post a Comment