HTML Introduction –
Basic Structure of HTML :
An HTML document consists of 2 important parts:
- Document Creation ( what users will see)
- Tags ( How will they see it)
Tag <html> is considered to be the head of the family. It’s from its tag that the browser recognizes, it’s an HTML document. For every opening tag there is a closing tag like this: </html>
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 the title ( of the browser window) or any other instructions, which you want to provide to the web browser. For example:
<head> <title> Welcome to Nadis Media!! </title> </head>
The <head> tag is followed by the <body> 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.
It’s time to answer some question.
Q – How do web Browser interact with HTML?
A – 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 as 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.
Q – What makes HTML so Powerful?
A – 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 ready and works out well using a simple text editor. It is the least complicated when it comes to search engines. So, are you interested in making a simple, stable, well-structured website? then learn HTML 😀
Q – Why isn’t HTML a programming language?
A – Trust me or not HTML is a fashion diva. It control’s the presentation, structure, and layout of the data 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.