HTML study notes

Zhuoyi Huang published on 2020-04-24

Edited on Dillinger

Study website: W3school

HTML basic knowledge

Contents

  1. Definition
  2. HTML basics
  3. HTML XHTML
  4. HTML form
  5. HTML5
  6. HTML graphics
  7. HTML media
  8. HTML API

Definition

HTML means Hyper Text Markup Language HTML is not a programming language, instead, it is a markup language A markup language is a set of markup tags HTML uses markup tags to describe web pages

<!DOCTYPE HTML>
<html>
<body>
<h1>My first title</h1>
<p>My first paragraph</p>
</body>
</html>

HTML basics

Complete HTML reference manual

Attributes Value Description
class classname Specifies the classname of the element
id id Specifies the unique id of the element
style style definition Specifies the inline style of an element
title text Additional information for specified elements (available in tooltips)