Ready to learn some basics about HTML?
Ready to learn some basics about HTML?
(LETS LEARN ABOUT THE BASIC STRUCTURE)
* Document Creation (what the users will see)
* Tags (and how they see it)
AN HTML document consists of 2 important parts:
Tag <HTML> is considered to be the head of the family.
It's from this tag that the browser recognizes, it's an HTML document.
PS- For every opening tag there is a closing like this: </HTML>.
(note:- hey kids! i'm still the head of the jungle.)
the tag <HTML> is followed by the <head> tag.
This is a special one, and the content written inside is not displayed on the webpage.
it comprises of the title (of the browser window) or any other instructions, which you want to the web browser.
for example:
<head>
<title>Welcome to the jungle!!</title>
</head>
(note:- we are everything that matters.)
the <head> tag, where the actual content that is visible on the webpage is written
i.e.all the visual elements such as headings, paragraphs, images etc.
Brilliant! You have unlocked the basic ingredients of an HTML document.
Time for some brain tease.
<HTML>
<HEAD>
</HEAD>
<BODY>
</BODY>
</HTML>
{HTML?} {BROWSER?} {WEBPAGE?}
Before we move any further along this learning path,several questions may have popped into your head.
Do note worry, we can help you solve at least a few of them.
{BROWSER}{WEB SERVER}
Question: how do web browsers interact with HTML?
Answer: browsers are too proud,they just do not /cannot read the content directly from the place where it is stored.
to settle this conflict, web servers are used.
a web server acts like an intermediator , it patiently listens to the browser 's request and executes it for us.
The document delivered to the browser contains the HTML text, which
is displayed just by identifying the tag <HTML> from the document.
{Victory} {HTML}
Question: what makes HTML so powerful?
Answer: As it turns out , HTML is a very friendly language and is on
good terms with almost all of the web browsers.
it isn't needy and works out well using a simple text editor.
it is the least complication when it comes to search engines.
so, are you interested in making a simple, stable,well-structured website?
then learn HTML :D
Question: why isn't HTML a programming language?
Answer: Trust me or not,HTML is a fashion diva. it controls the presentation, structure and layout of the date on a webpage.
it just does not contain any functional or programming logic.
manipulating data is not in its nature, neither does it perform tasks like,event handling,taking input and displaying output.
this is what makes it different from a programming language.
PS: there are no if-else conditions. :)
Continue 2 important parts:-