XML, HTML and Societal Impacts of IT

XML, HTML and Societal Impacts of IT

HTML: It stands for Hyper Text Markup Language. HTML is a complete code package that allows the user to create web pages. It includes text and graphics. Using HTML, we can add links to the web pages. Hyper links are the highlighted text segments or images that connect to other pages on the web.
Html Document structure
The general structure of an HTML document has two sections: Head and Body.
Head Section: The Head section contains the Title that identifies the first part of an HTML coded document.
Body Section: The body section is where we do most of the work. It includes text, graphics, and other HTML elements that provide control and formatting of a page like: fonts, paragraph, list and other elements.
A tag is a command in HTML that controls the structure and appearance of a document or a web page that is created.

HTML is a tag based language that helps in creating web pages. A tag comprises of text enclosed in angle brackets < >. If we do not use brackets, then the web browser will assume the command as text. These tags are known as elements.
The HTML elements can be categorized as:
Container Elements.
Empty Elements.

Container Element
In HTML, the tags that include both ON and OFF tags are called Container Elements. A tag is opened using < > opening angle brackets and closed using with closing brackets. E.g., shows the opening tag and shows the closing tag.

Empty Element
Empty elements only contain ON tags. They do not have OFF tags. These elements do not close any data. Instead they do something on their own. E.g., tag breaks a line and displays the text from the next line.

HTML Program


XML is also a markup language just like HTML. Though, they differ in their functionality and basic purpose, yet the basic skeleton for both are tags. HTML has pre-defined tags, whereas we can define our own tags in XML. Before we proceed, it is important to...

Similar Essays