What is HTML?
WHAT IS HTML?
The HyperText Markup Language, or HTML is the standard markup
language for documents designed to be displayed in a web browser. It can
be assisted by technologies such as Cascading Style Sheets and
scripting languages such as JavaScript.
Developed By: WHATWG
Latest Release: Living Standard; (2021)
Initial Release: 1993; 28 years ago
Extended From: SGML
Extended From: XHTML
Contained By: Web Browser
Head
In an HTML file, the html head is the first section in the code containing information about a web page's properties and links to external related files. For example, in the HTML head, you can have the title of the page, meta tags, CSS code, Open Graph tags, and JavaScript code.
Tip
The head section is denoted by an opening <head> tag and ended at the closing </head> tag.
HTML with head example
The following example is a basic HTML page template that
helps demonstrate where the head section of the code is placed when
creating a web page. As shown below, the head section and its contents are in bold.
<!DOCTYPE HTML>
<html>
<head>
<meta content="Example page for head section." name="description">
<title>Example page</title>
</head>
<body>
<p>Body text of the web page would be here.</p>
</body>
</html>
If you need to add a line or code into the HTML head section, it must be placed between the <head> and </head> tags. New lines are often added in the line above the </head> tag.
Contant Type
Common MIME types
Extension | Kind of document | MIME Type |
---|---|---|
.htm .html | HyperText Markup Language (HTML) | text/html |
.ico | Icon format | image/vnd.microsoft.icon |
.ics | iCalendar format | text/calendar |
.jar | Java Archive (JAR) | application/java-archive |
Structure
7 The global structure of an HTML document
- The BODY element.
- Element identifiers: the id and class attributes.
- Block-level and inline elements.
- Grouping elements: the DIV and SPAN elements.
- Headings: The H1 , H2 , H3 , H4 , H5 , H6 elements.
- The ADDRESS element.
0 Response to "What is HTML?"
Post a Comment