HTML
What is HTML?
The hypertext markup language is abbreviated as HTML. Hypertext refers to the method by which websites are linked to each other. It refers to specific terms that are related to other sections of a text. You can display anything on website pages by usint HTML tags.
While creating website pages, we use HTML (hypertext markup language) to display formatted text, images, audios, and videos. According to the www consortium, HTML is the most commonly used language for creating online pages.
HTML Tags
HTML, as previously stated, is a markup language that uses various tags to structure the content. The HTML tags are surrounded by two characters < and > (angle brackets). Except for a few tags, the majority of tags have corresponding closing tags. For example, <html> has a closing tag </html>, and <body> has a closing tag </body> tag, and so on.
Some of the HTML tags are:
<html> </html>
<head> </head>
<title> </title>
<body> </body>
<div> </div>
<h1> </h1>
HTML has a lot of tags that you need to learn and remember their working.
HTML Element
An HTML element is a basic web page-building item representing various parts of an HTML document’s structure. It is made up of the following parts:
- The starting tag HTML element starts with the opening tag that contains(<p>)
- The ending tag It encloses with the ending tag that contains(</P>)
- The HTML content is enclosed with starting and ending tag (<p>Paragraph</p>)
Advantages of HTML
- A simple language to learn and apply. You can easily develop web pages using HTML.
- HTML documents created on one device or platform can be used on other browsers too. It runs on any system.
- You can add any graphics or text to your webpage by using HTML and arranging the content creatively.
- HTML can easily integrated with other technologies, such as CSS for designing and JavaScript for website functionality, that allow developers to develop powerful websites.
Limitations of HTML
- Programming is not allowed in HTML. It only offers formatted text, images, videos, and audio.
- HTML provides static web pages. The user cannot make any changes to the webpage.
- It only provides already-made tags. You cannot add self-made tags or cannot expand HTML.
- HTML only allows basic styling, you cannot create complex structures and designs.
Basic structure of HTML:
<!DOCTYPE html>
<html>
<head>
<title><!-- Learning Axis --></title>
</head>
<body>
<h1>Hello, Learning Axis</h1>
<p>This is a basic HTML webpage.</p>
</body>
</html>