HTML Tutorial

HTML

The standard markup language for documents designed to be displayed in a web browser.

Curriculum Syllabus

Explore all 88 lessons in this learning track.

HTML Tutorial(41)

HTML HOME

HTML is the standard markup language for Web pages.

HTML Introduction

HTML is the standard markup language for creating Web pages.

HTML Editors

A simple text editor is all you need to learn HTML.

HTML Basic

In this chapter we will show some basic HTML examples.

HTML Elements

An HTML element is defined by a start tag, some content, and an

HTML Attributes

HTML attributes provide additional information about HTML elements.

HTML Headings

HTML headings are titles or subtitles that you want to display on a webpage.

HTML Paragraphs

A paragraph always starts on a new line, and is usually a block of text.

HTML Styles

The HTML `style` attribute is used to add styles to an element, such as color, font, size, and more.

HTML Formatting

HTML contains several elements for defining text with a special meaning.

HTML Quotations

In this chapter we will go through the

HTML Comments

HTML comments are not displayed in the browser, but they can

HTML Colors

HTML colors are specified with predefined color names, or with

HTML CSS

CSS stands for Cascading Style Sheets.

HTML Links

Links are found in nearly all web pages. Links allow users to click their way from page to page.

HTML Images

Images can improve the design and the appearance of a web page.

HTML Project

Complete each step in the editor and watch the result as your page takes shape.

HTML Favicon

A favicon is a small image displayed next to the page title in the browser tab.

HTML Page Title

Every web page should have a page title to describe the meaning of the page.

HTML Tables

HTML tables allow web developers to arrange data into rows and

HTML Lists

HTML lists allow web developers to group a set of related items in lists.

HTML Block & Inline

Every HTML element has a default display value, depending on what type

HTML Div

The `<div>` element is used as a container for other HTML elements.

HTML Classes

The HTML `class` attribute is

HTML Id

The HTML `id` attribute is used

HTML Buttons

Buttons let users interact with a web page. They can submit forms, run JavaScript, or trigger different actions when clicked.

HTML Iframes

An HTML iframe is used to display a web page within a web page.

HTML JavaScript

JavaScript makes HTML pages more dynamic and interactive.

HTML File Paths

A file path describes the location of a file in a web site's folder structure.

HTML Head

The HTML `<head>` element

HTML Layout

Websites often display content in multiple columns (like a magazine or

HTML Responsive

Responsive web design is about creating web pages that look good on all devices!

HTML Computercode

HTML contains several elements for defining user input and

HTML Semantics

Semantic elements = elements with a meaning.

HTML Style Guide

Consistent, clean, and tidy HTML code makes it easier for others to read and understand your code.

HTML Entities

Reserved characters in HTML must be replaced with entities:

HTML Symbols

Symbols or letters that are not present on your keyboard can be added to HTML using entities.

HTML Emojis

Emojis look like images, but they are not.

HTML Charsets

To display an HTML page correctly, a web browser must know which character set to use.

HTML URL Encode

A URL is another word for a web address.

HTML vs. XHTML

XHTML is a stricter, more XML-based version of HTML.

HTML References(16)

HTML Tag List

Comprehensive guide to HTML Tag List with practical examples, syntax definitions, and interactive code demonstrations.

HTML Attributes

The table below lists all HTML attributes and what elements they can be used within:

HTML Global Attributes

The global attributes are attributes that can be used with all HTML elements.

HTML Browser Support

The table below lists all HTML elements and their attributes, along with browser support:

HTML Events

HTML has the ability to let events trigger actions in a browser, like starting a JavaScript when a user clicks on an element.

HTML Colors

All modern browsers support the following 140 color names (click on a color name, or a hex value, to view the color as the background-color along with differ...

HTML Canvas

The HTML `<canvas>` element is used to draw graphics, on the fly, via JavaScript.

HTML Audio/Video

The HTML5 DOM has methods, properties, and events for the `<audio>` and `<video>`

HTML Doctypes

All HTML documents must start with a `<!DOCTYPE>` declaration.

HTML Character Sets

The default character set in HTML5 is UTF-8.

HTML URL Encode

Web browsers request pages from web servers by using a URL.

HTML Lang Codes

A Language Code is a 2-letter abbreviation that specifies a language.

HTTP Messages

Every time a browser asks a server for something, the server sends back a short code that says how it went. This code is called an HTTP status code.

HTTP Methods

The Hypertext Transfer Protocol (HTTP) is designed to enable

PX to EM Converter

The tool below allows you to work out the em sizes from pixels (or vice versa).

Keyboard Shortcuts

Keyboard shortcuts are often used in modern operating systems and computer software programs.