Loading lesson path
HTML
Use examples, references, quizzes, and exercises as support material rather than the main learning path.
HTML Basic Examples explained HTML Attributes Examples explained HTML Headings Examples explained HTML Paragraphs Examples explained HTML Styles Examples explained HTML Text Formatting Examples expla…
HTML Element Reference
HTML Editor With our online HTML editor, you can edit HTML, CSS and JavaScript code, and view the result in your browser. < !DOCTYPE html > < html > < title > HTML Tutorial </ title > < body > < h1 >…
HTML Attribute Reference
You can test your HTML skills with W3Schools' Quiz. The Test The test contains 40 questions and there is no time limit. The test is not official, it's just a nice way to see how much you know, or don…
HTML Global Attributes The global attributes are attributes that can be used with all HTML elements. Attribute Description accesskey Specifies a shortcut key to activate/focus an element class Specif…
Test your HTML skills with exercises from all categories: /51 done Introduction 3 exercises Open Done Basic 4 exercises Open Done Elements 3 exercises Open Done Attributes 5 exercises Open Done Headi…
HTML Reference With Browser Support The table below lists all HTML elements and their attributes, along with browser support: <a> Yes Yes Yes Yes Yes download 14.0 18.0 20.0 10.1 15.0 href Yes Yes Ye…
Test your HTML skills with code challenges from all categories: Code Challenges Loading challenges... About Code Challenges Code challenges are interactive coding exercises where you write HTML code…
HTML Event Attributes
Create Website with HTML Host Websites with W3Schools Spaces Get Started for Free Practice Coding Skills kAI AI Tutor Build Projects Host Securely Choose your Plan By subscribing to a plan you suppor…
Color Names Supported by All Browsers 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 different…
Introduction The W3Schools HTML Tutorial is comprehensive and beginner-friendly. It will give you a fundamental knowledge of HTML. It is designed for beginners and requires no prior experience with p…
The <canvas> element defines a bitmapped area in an HTML page. The Canvas API allows JavaScript to draw graphics on the canvas. The Canvas API can draw shapes, lines, curves, boxes, text, and images,…
Introduction The HTML study plan helps you teach your students HTML step-by-step. Creating a study plan for HTML is easy. You can use a pre-built study plan or customize it. Students have different s…
HTML Audio and Video DOM Reference The HTML5 DOM has methods, properties, and events for the <audio> and <video> elements. HTML Audio/Video Methods Method Description addTextTrack() Adds a new text t…
HTML Interview Preparation
The HTML Document Type All HTML documents must start with a <!DOCTYPE> declaration. The declaration is not an HTML tag. It is an "information" to the browser about what document type to expect. In HT…
W3Schools HTML Bootcamp
Common HTML Character Sets The default character set in HTML5 is UTF-8. For a closer look, visit our Complete HTML Character Set Reference. Number ASCII ANSI 8859-1 UTF-8 Description 32 space 33 ! !…
w s c h o o l s C E R T I F I E D. W3Schools offers an Online Certification Program. The perfect solution for busy professionals who need to balance work, family, and career building. More than 50 00…
URL - Uniform Resource Locator Web browsers request pages from web servers by using a URL. The URL is the address of a web page, like: https://www.w3schools.com. URL Encoding (Percent Encoding) URL e…
You Have Learned HTML, Now What?
ISO Language Codes You should always include the lang attribute inside the <html> tag, to declare the language of the Web page. This is meant to assist search engines and browsers: <html lang="en">..…
Always write HTML code with accessibility in mind! Provide the user a good way to navigate and interact with your site. Make your HTML code as semantic as possible. Semantic HTML Semantic HTML means…
HTML Error Messages When a browser requests a service from a web server, an error might occur, and the server might return an error code like "404 Not Found". It is common to name these errors HTML e…
HTTP Request Methods
Pixels to Ems Conversion
Keyboard Shortcuts