HTML Introduction

HTML Introduction

About HTML

HTML is the standard markup language for creating Web pages and it stands for Hyper Text Markup Language.

It describes the structure of a Web page and consists of series of elements that tells the browser how to display the content.

HTML Elements

Each HTML element is defined by a start tag, content, and and end tag.

Example:

<tagname> Content </tagname>

The element is everything from the start to the end of the tag.

Example:

<p>Hello world!</p>

In this element <p> is the starting tag, Hello World! is the element content and the end tag is </p>

However there HTML elements with no content. These empty elements do not have an end tag.

HTML Page Structure

<html>

<head>

<title></title>

</head>

<body>

<h1>This is a heading</h1>

<p>This is a paragraph.</p>

</body>

</html>

Inside the body section will be the content displayed in the browser. Content inside <title> element will be shown in the browser's title bar.

History of HTML

1989 Tim Berners-Lee invented www

1991 Tim Berners-Lee invented HTML

1993 Dave Raggett drafted HTML+

1995 HTML Working Group defined HTML 2.0

1997 W3C Recommendation: HTML 3.2

1999 W3C Recommendation: HTML 4.01

2000 W3C Recommendation: XHTML 1.0

2008 WHATWG HTML5 First Public Draft

2012 WHATWG HTML5 Living Standard

2014 W3C Recommendation: HTML5

2016 W3C Candidate Recommendation: HTML 5.1

2017 W3C Recommendation: HTML5.1 2nd Edition

2017 W3C Recommendation: HTML5.2

Notes:

We will discover HTML more in-depth in the following articles and learn more about various HTML Elements.

要查看或添加评论,请登录

社区洞察

其他会员也浏览了