What is html ?
HyperText Markup Language
HTML (HyperText Markup Language) is the most basic building block of the Web. It defines the meaning and structure of web content."Hypertext" refers to links that connect web pages to one another, either within a single website or between websites. Links are a fundamental aspect of the Web.
HTML uses "markup" to annotate text, images, and other content for display in a Web browser. HTML markup includes special "elements" such as
<head>, <title>, <body>, <header>
and many others.
-
An HTML element is set off from other text in a document by "tags", which consist of the element name surrounded by < and >. The name of an element inside a tag is case-insensitive. That is, it can be written in uppercase, lowercase, or a mixture. For example, the
tag can be written as , . HTML is a markup language consisting of a series of elements used to wrap (or enclose) text content to define its structure and cause it to behave in a certain way.
This simple writing text in text editor
Instructions for life:
Eat
Sleep
Repeat
If we wrap this content with the following HTML elements, we can turn that single line into a paragraph
(<p>)
and three bullet points
(<li>)
Used this element...
<p>Instructions for life:</p>
<ul>
<li>Eat</li>
<li>Sleep</li>
<li>Repeat</li>
</ul>
Output is :
Instructions for life:
Eat
Sleep
Repeat
Top comments (0)