HTML Introduction

HTML stands for HyperText Markup Language.

HTML is the standard language used to create web pages.

What is a Markup Language?

A Markup Language is a way of writing text that includes special symbols, called tags, which tell a computer how to display or organize the text. These tags help format the content, making it look a certain way or behave in a specific manner.

It tells a web browser how to display the content of a webpage, like text, images, and links, by using tags. These tags define the structure of the page and how elements should be arranged on the screen.

Understanding

<!DOCTYPE html>: this document is an HTML5 document

  • The browser renders the HTML according to modern web standards (HTML5), ensuring consistent behavior across different browsers.
  • Newer CSS features and HTML elements behave as expected.

What happens if we don't include ?

  • The browser behaves as it did in older versions (like Internet Explorer 5 or earlier), attempting to maintain backward compatibility with legacy websites.
  • This can cause improper layouts, inconsistent rendering, and older CSS rules may be applied differently.

What is Backward Compatibility?

Backward compatibility means that newer systems, software, or technologies can still work with older versions or formats. It's like making sure something new can still understand or support the old way of doing things.

For example, if you update a website with new code or features, backward compatibility ensures that users with older browsers or devices can still access and use the website, even if they can't take full advantage of the new features. It helps avoid breaking older systems while allowing newer developments to work.

HTML Structure

  • <html>: element is the root element of an HTML page
  • <head>: element contains meta information about the HTML page
  • <title>: element specifies a title for the HTML page
  • <body>: element defines the document's body, and is a container for all the visible contents, such as headings, paragraphs, images, hyperlinks, tables, lists, etc.
What Are People Saying About Us

Read These Life Changing Stories From People Just Like You!