HyperText Markup Language
lastmod 2025-12-15created 2015-03-1268 edits
|
HTML, which stands for HyperText Markup Language, is the predominant markup language for web pages. HTML not only denotes structural semantics for text such as headings, paragraphs, and lists, but also provides a means to create structured documents with links, quotes, and other items. It can also be used to embed images and objects and to create interactive forms. HTML is written in the form of HTML elements made up of "tags" enclosed in angle brackets within the web page content. HTML can include or load scripts such as JavaScript, which affects the behavior of HTML processors like web browsers, and css, which defines the look and layout of text and other items. The w3c, which is jointly responsible for the HTML and CSS standards, encourages the use of CSS for explicit, presentational markup.
In 1980, physicist Tim Berners-Lee, then a contractor at the European Organization for Nuclear Research (CERN), proposed ENQUIRE, the prototype of HTML. ENQUIRE was a system for CERN researchers to use and share documents. In 1989, Berners-Lee wrote a memo proposing an Internet-based hypertext system. Berners-Lee specified HTML and wrote the browser and server software in late 1990. That year, Berners-Lee and CERN data systems engineer Robert Cailliau jointly requested funding from CERN, but the project was never formally adopted by CERN. In his personal notes from 1990, Berners-Lee listed "some of the many areas in which hypertext is used" and put an encyclopedia first on the list.
The first publicly available description of HTML began in late 1991, when Berners-Lee first referred to a document on the Internet as "HTML Tags". It described 20 elements made up of initialisms, a relatively simple design of HTML. Except for the hyperlink tag, the HTML tags were strongly influenced by SGML GUID, CERN's own SGML-based documentation format. 13 of these elements still exist in HTML 4.
What is HTML?
HTML is a language for describing web pages.
- HTML stands for Hyper Text Markup Language.
- HTML is not a programming language, it is a markup language.
- A markup language is a set of markup tags.
- The purpose of the tags are to describe page content.
Category
- HTML elements reference - HTML: Hypertext Markup Language | MDN
- HTML:Libraries
- HTML:Symbols or HTML Special Characters
- HTML:canvas (Canvas element, WebCanvas; Web Canvas; web canvas)
- Imagemaps - A web editor for easily creating HTML image maps
- HTML:iframe
- HTML:Drag - HTML Drag and Drop
- HTML:VirtualScroll
- HTML:History
- HTML:Tools - Small web tools that put JavaScript and CSS together in a single HTML file and run instantly
- HTML:Examples
- Web standards
- Web accessibility
- WAI-ARIA
- Server-Sent Events
- Web Component
Layout
ETC
HTML Tutorials
| Basic | Advanced | Media | XHTML | References | HTML5 |
|
|
|
|
|
|
Sample
How to redirect using a meta tag:
How to use Submit:
<form method="post" action="/">
<input type="test" name="field1">
<input type="test" name="field2">
<input type="submit">
</form>
Defining the mobile screen width:
Coding
- Tags are not case-sensitive, but use lowercase whenever possible. (HTML4 recommends lowercase, and XHTML requires lowercase.)
HTML5
HTML5 is the next major proposed version of HTML and the core markup language of the World Wide Web. Detailed specification work began in June 2004 at the Web Hypertext Application Technology Working Group (WHATWG) under the name Web Applications 1.0. As of April 2012, it is still under development. HTML5 is the proposed next standard for HTML 4.01, XHTML 1.0, and DOM Level 2 HTML. It aims to make the latest multimedia content easy to view in the browser.
The document declaration has been simplified to <!DOCTYPE html>. (case-insensitive) The basic document structure is as follows.
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- <link rel="icon" type="image/png" href="webrtc.png" /> -->
<!-- <link href="css/bootstrap.min.css" rel="stylesheet"> -->
<!-- <script src="js/bootstrap.min.js"></script> -->
<title>Index</title>
</head>
<body>
<div class="container">
<p>Example paragraph</p>
</div>
</body>
</html>
Layout
Clear fix
- [Recommended] Let's make 2-column and 3-column skins 1
Applying the float property to a div can make it overflow its outline. In this case, set the class of the parent layer (the wrapping layer) to the clearfix below.
/* full clearfix */
/* add to floating elements which shall clear floating after themselves */
* html .clearfix{
height: 1%; /* IE5-6 */
}
*+html .clearfix{
display: inline-block; /* IE7not8 */
}
.clearfix:after{ /* FF, IE8, O, S, etc. */
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
Vertical align
See Cascading Style Sheets#Vertical Align for details.
Essential tags that make HTML work as expected
<!doctype html> ensures standards mode rendering, preventing layout calculation errors </code> provides language information, improving accessibility, search, and translation quality
</code> and <meta name="viewport" ...> control character encoding and the mobile display scale, respectively
Troubleshooting
HTML encoding
The following may be printed in the Firefox console.
The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must to be declared in the document or in the transfer protocol.
In this case, add the code below inside head.
App not updating to the latest version after deployment unless the browser cache is cleared
See Cache Busting.
See also
- CSS
- JavaScript
- Internet
- World Wide Web (www)
- DOM
- Gomponents - HTML components written in pure Go
- lychee (link checker) - A fast asynchronous link checker written in Rust
Favorite site
- W3C website
- W3C Korea Office
- Wikipedia (en) explanation of HTML
- Wikipedia (en) explanation of HTML5
- w3schools explanation of HTML
- This wiki is for connecting the W3C communities
- This presentation is an HTML5 website 2
Guide
- w3schools website 5
- Youtube: html5 tutorial notepad++
- HTML 5: Is it
or
? - 3.1.1 Is the primary language attribute (lang) declared in the HTML code?
- HTML URL Encoding Reference
- [Recommended] Practical HTML5 Guide 6
- SQLER.com HTML5 course 78
- How to read the HTML 4.01 DTD 9
- [Recommended] Learn about the DOM Event system through exploration - Lets you see the DOM event propagation order graphically.
Tools
- Open-Source UI elements - made with CSS and HTML - Free UI elements made with HTML/CSS
- 636 components, including buttons/loaders/checkboxes/switches/inputs/cards
- 5232 contributors
- Completely free. Usable for both personal and commercial purposes
HTML Reference
- Clear Both website
- [Recommended] HTML5 Open Reference
HTML Editor
- http://stackoverflow.com/questions/1163376/html-css-javascript-editor
- http://www.sublimetext.com/
- http://kldp.org/node/117359
- http://www.kompozer.net/
References
-
Designersnote_-Layout-_2_or_3_depth_skin.pdf ↩
-
This_presentation_is_an_HTML5_website.zip: (2014-03-11 download) ↩
-
This_presentation_is_an_HTML5_website_(ko).zip: (2014-03-11 download) ↩
-
Oh_My_Library_-_disable_mouse_drag.pdf ↩
-
Wget: Wget-w3schools.7z ↩
-
Html5-guide.pdf ↩
-
Html5-sqler_com.pdf ↩
-
Html_dtd_statement.pdf ↩
-
Html_table_tag_helper.pdf ↩
- Android:Layouts
- AWS Amplify
- Bezier curve
- Browser game
- Canvas element
- Cascading Style Sheets
- CheerpJ
- CodingGuidelines:HTML
- Computer Language
- Cross-window communication
- CSS:Example:HideScrollbar
- CSS:position
- CSS:PseudoClasses
- CSS:scrollbar
- Digital rights management
- Document Object Model
- Document type definition
- DRM:HTML5
- Eleventy
- Event bubbling
- Extensible Markup Language
- Figma
- Game Programming
- Gomponents
- Google Chrome
- Hero Header
- Html-minifier
- HTML:area
- HTML:article
- HTML:button
- HTML:Drag
- HTML:Examples
- HTML:form
- HTML:History
- HTML:iframe
- HTML:script
- HTML:section
- HTML:select
- HTML:table
- HTML:Tools
- HTML:Tutorials:Basic
- HTML:VirtualScroll
- Htmlq
- Htmx
- Hybrid Mobile Application
- Hyperclay
- Hypertext Transfer Protocol
- Incremental DOM
- JavaScript
- JavaScript:Collapse
- JavaScript:Dialog
- JavaScript:Tab
- Jq
- Jq.py
- Jqpy
- Jsdom
- Lychee (link checker)
- Markup Language
- Marquee
- MutationObserver
and 44 more