1.

Introduction to HTML:

Answer»

HTML stands for HyperText Markup language. It is a standardized system for creating web pages. HTML creates the structure of a web page and uses “tags” to mark up a web page.

Why do we use HTML?

HTML code ensures the proper formatting of text and images so that your Internet browser may display them as they are intended to look. Without HTML, a browser would not know how to display text as elements or load images or other elements. HTML also provides a basic structure of the page, upon which Cascading Style Sheets are overlaid to change its appearance. One could think of HTML as the bones (structure) of a web page, and CSS as its skin (appearance). 

The Basic Skeleton of HTML:

<html>
<head>
<title> Interviewbit </title>
</head>
<body>
..........................
....Body contents here....
..........................
</body>
</html>

Concept and Syntax of HTML:

A plaintext document formatted using elements is known as an HTML document. Opening and closing tags are used to surround HTML elements. Angle brackets (<>) are used to start and end each tag. Several tags, such as <image>, <p>, etc. are empty or void and cannot contain any text. You can add attributes to HTML tags to provide them with more information that affects how the browser reads the element:

An HTML element's structure in detail is given in the picture above. An HTML file is saved with the.htm or.html extension, is provided by a web server, and may be viewed in any web browser. Check out this list of HTML Projects.




Discussion

No Comment Found

Related InterviewSolutions