html wiki ul ol,'html' tag wiki - Stack Overflow

HTML (HyperText Markup Language) is the markup language for creating web pages and other information to be displayed in a web browser. Questions regarding HTML should include a minimal reproducible example and some idea of what you're trying to achieve. This tag is rarely used alone and is often paired with [CSS] and [javascript].

HTML (HyperText Markup Language) is the markup language used for structuring web pages and other information to be displayed in a web browser. HTML describes the structure of a web-page semantically along with cues for presentation, making it a markup language rather than a programming language. A browser 'renders' HTML in conjunction with CSS, which defines the 'style' (colors, fonts, layout, etc.) and JavaScript, which defines interactive and dynamic elements, adding style and behavior to the pages.

HTML (HyperText Markup Language) is the main markup language for creating web pages and other information to be displayed to humans in a web-browser.

It was invented by Sir Tim Berners-Lee while developing the first Web browser at CERN to enable researchers to share their findings and formally released in June 1993. The original "HTML Tags" were first publicly mentioned by Berners-Lee in 1991 and borrowed the syntax from CERN's SGML-based documentation standard. The latest version for HTML is HTML5.2.

HTML elements form the building blocks of all web-pages. HTML allows images and objects to be embedded in a page. It references styles and scripts and carries meta-data. It can be used to create interactive forms. It provides a means to create structured documents by denoting structural semantics for text such as headings, paragraphs, lists, links, quotes and other items. It can embed scripts written in languages such as JavaScript, which affects the behavior of HTML web pages. Web pages written in different programming languages (PHP, JSP, VF, ASP.NET etc.) get rendered as HTML in a browser.

HTML is a hierarchical (tree-structured) markup language. That is, an item might be a descendant of another item, which is its ancestor. However, if item2 is a descendant of item1, then they have an additional special relation: item2 is inside of item1, or item1 is wrapped around item2.

Syntax

HTML is written in the form of elements consisting of tags (and their attributes) enclosed in angle brackets (e.g., ).

HTML tags most commonly come in pairs. The first is known as the opening tag and the second, which includes a forward slash, as the closing tag (e.g.,

and

). Various types of content, such as text or additional HTML elements, can be contained within these tags. Some tags, however, are unpaired, and these are known as empty elements or self-closing tags. They may or may not include the slash (e.g., or ).

Collectively, these tags form an HTML document. Web browsers read these documents, interpret each of the HTML tags, and then render their corresponding visual and/or audible display in the form of a webpage.

Standards

HTML standards, as well as those for many other web technologies, are maintained by the World Wide Web Consortium (W3C).

HTML4 was introduced in 1997, and the latest iteration, HTML5, was recently developed by the W3C. What W3C calls HTML5 is a subset, with a few modifications, of the HTML-Living-Standard which is specified by the Web Hypertext Application Technology Working Group (WHATWG).

The language specification and standards documents for HTML5 are available online.

Design and Scripting

HTML markups are designed, or 'styled', via CSS (Cascading Style Sheets), using one or more of the following:

the tag, loading a CSS file

the

the style attribute of HTML tags, where inline styles can be specified

Dynamic and interactive parts of a page are programmed most frequently via JavaScript, using one or more of the following:

the

the

event attributes of tags, like onclick

FAQ

References:

Free HTML Books:

Related Tags:

HTML5: What’s New?

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值