HTML
Hypertext Markup Language (HTML) is a markup language used to create and link webpages. It defines the basic structure of a web page and contains meta-data about the page and a series of elements to be displayed on the web page. It uses predefined tags such as <table>, <form>, etc. to render different elements on the webpage. Each element requires a starting and ending tag with content inside it.
A marked-up document written in HTML is displayed by a web browser that interprets different tags and accordingly formats and structures the content of the document before displaying it. It can be written in a plain text editor and can be associated with styling sheets such as CSS (Cascading Style Sheets) and scripting languages such as JavaScript.
Example: Implementation of the basic structure of HTML code.
HTML
<!DOCTYPE html> < html > < head > < title >HTML Example Code</ title > </ head > < body > < h1 >w3wiki</ h1 > < p >A computer science portal for geeks</ p > </ body > </ html > |
Output:
Features:
- It is easy to learn
- Platform-independent
- Support audio, video, and images embedded web pages
- Supported by all browsers
- Can be integrated with styling and scripting languages
Drawbacks:
- It can only create static web pages because of its static nature.
- It offers limited security features.
- It requires long code for creating even a simple web page.
Explain different markup languages other than HTML
Markup languages are computer languages that are used to structure, format, or define relationships between different parts of text documents with the help of symbols or tags inserted in the document. These languages are more readable than usual programming languages with strict syntax. There are several markup languages available but the most popular among them are as follows.
Table of Content
- HTML
- XML
- XHTML
- SGML