HTML is the structural coding language we use to build web pages. Some people refer to HTML as being the “building blocks of the web”.
As its name tells us, it’s a markup language. Its purpose is to format information; to define meaning and structure in a document. HTML doesn’t have any programming logic.
The word hypertext refers to the links between HTML documents. This linking of information is a core principle behind the World Wide Web, as proposed by Tim Berners Lee in 1989.
HTML Tags
HTML uses tags to describe various elements on a page. Usually these consist of an opening <>
and a closing tag </>
(though sometimes just a single tag is required). The name of the element is placed within these tags (like this: <tag>
) conventionally in lowercase. For example:
1 |
<h1>These are opening and closing heading tags.</h1> |
2 |
|
3 |
<p>These are paragraph tags. The content is kept between them.</p> |
4 |
|
5 |
<p>The tag underneath is for an `hr` element. It doesn’t require a closing tag.</p> |
6 |
|
7 |
<hr>
|
HTML tags are used to describe all kinds of elements: from headings and links, to articles and forms. Browsers use these elements to understand how to render the content, search engines use them to interpret and index web pages, and assistive technologies like screen readers use them to communicate the content properly.
HTML Element Reference
Browse a list of all HTML elements.
Learn HTML
Here are some tutorials and courses to help you learn HTML. Subscribe to the Tuts+ YouTube channel for more!
No comments:
Post a Comment