HTML LEARNING PATH

2.0 Understanding Why We Use HTML

WHY

HTML, HyperText Markup Language, is key to any website because it gives structure to content on a webpage using tags. HTML tags are a set of instructions for web browsers to display the webpage. Well structured HTML, allows content to be easily readable by browsers. Thinking carefully about how we write HTML helps us structure the order and presentation of our content to our users, rather than having it run together on the screen.

HOW

Browsers, such as Google Chrome, render HTML to present content elements such as text, links, images and other elements for any website in the world. HTML elements consist of two tags, one opening and one closing. In the code example, <html> is an opening tag and </html> with the slash is a closing tag. The text between the opening and the closing tag is the content of the HTML element.

Code sample:

<html>

</html>

GLOSSARY

HTML stands for Hypertext Markup Language.

Tags are angle brackets used for marking up text elements in a document.

Render is how content is displayed on the page.

Web browser (Chrome, IE, Firefox, Safari) is an application for displaying HTML over the internet.

TIPS AND RESOURCES

HTML Tip Sheet

PRACTICE

How do browsers read HTML?

  • For any website, choose “View Page Source” from the View dropdown menu. Here, you can find the <html></html> tags for any website.

  • When you refresh the browser, only the content is displayed on screen, not the HTML tags.

results matching ""

    No results matching ""