What is Markup Language?
Markup language is a way of annotating text and other content in a computer file so that it is interpreted by a software program. The markup language provides instructions on how the text should be presented or displayed, in the form of tags or symbols. Markup languages are used to create web pages, documents and other types of information. Most web pages today are written in HTML (Hypertext Markup Language). Other popular markup languages include XML (Extensible Markup Language) and CSS (Cascading Style Sheets).
Examples of Markup Language
HTML is the most widely used markup language, and is used to create web pages. It consists of tags such as
,
,
, and , which provide instructions on how the text should be presented. For example, the tag tells the browser to display the text in bold.
XML is another markup language, and is used to define data elements and their relationships. It consists of tags such as , , and , which provide instructions on how the data should be structured.
CSS is a markup language used to style web pages. It consists of tags such as and , which provide instructions on how the page should look.