Web consists of billions of clients and servers connected through wires and wireless networks. The client using web browser send request to the server. The web server receives the request, find the resources and return the response to the browser.
What is web server
Web server is a program which process the network requests of clients and serve them response.
What is HTML
HTML stands for Hypertext Markup Language which is mainly user for creating web pages. HTML is most basic building block; it gives structure to web page.
A Simple HTML Document
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
</head>
<body>
<h1>Heading 1</h1>
<p>
Lorem ipsum, dolor sit amet consectetur adipisicing elit. Alias, eaque.
</p>
</body>
</html>
Example Explained
The
<!DOCTYPE html>
declaration defines that this document is an HTML5 documentThe
<html>
element is the root element of an HTML pageThe
<head>
element contains meta information about the HTML pageThe
<title>
element specifies a title for the HTML page (which is shown in the browser's title bar or in the page's tab)The
<body>
element defines the document's body, and is a container for all the visible contents, such as headings, paragraphs, images, hyperlinks, tables, lists, etc.The
<h1>
element defines a large headingThe
<p>
element defines a paragraph
What is HTML Element
A HTML element is defined by start tag, some content and end tag
<tagname>
contain goes here… </tagname>