Skip to content

What Is HTML and What Does It Do?

HTML is the markup language that allows a browser to recognize the heading, paragraph, list, and link on a web page. The article explains what HTML is, how a document is built, and how today's standard has been updated.

Nurullah Okatan · Content Writer
· Updated: · 12 min read

What Is HTML and What Does It Do?

HTML is the markup language that tells the browser what each piece of content on a web page is and in what order it is arranged. Headings, paragraphs, lists, and links are each defined with HTML tags. The browser reads these tags and displays the page on screen.

What is HTML?

HTML stands for HyperText Markup Language. According to Çukurova University's introductory note on HTML, it is translated in Turkish as "Hiper Metin İşaretleme Dili". The word "hypertext" means that documents can be connected to each other with links.

Advantages of Creating a Web Page with HTML

HTML is not a programming language. It does not create loops, perform calculations, or make decisions. It marks up content: it indicates which line is a heading, which is a paragraph, or a link. According to the Wikipedia definition, HTML is the standard markup language for documents displayed in a web browser. It defines what web content consists of and how it is structured.

When a browser opens a page, it receives the HTML file from the server and reads the tags from start to finish. It turns each tag into an element. It arranges the elements in a nested tree structure, and then draws this structure on the screen together with the style rules. As stated in Çukurova University's note, HTML content is interpreted by browsers and forms the basis of the websites seen on screen.

AI assistant for this topic

Türk Bilişim AI answers your questions instantly
Online
  1. Hi! Ask whatever you're curious about.

What does HTML do on a web page?

In HTML, each piece of content is written between an opening and a closing tag. According to Wikipedia, HTML gives text structural meaning such as headings, paragraphs, lists, links, and quotations. In this way, structured documents are created. The most commonly used tags are the following:

ContentTagWhat it does
Heading<h1> … <h6>Separates the main topic of the page and its sections
Paragraph<p>Defines a block of plain text
Unordered list<ul> and <li>Groups items whose order does not matter
Ordered list<ol> and <li>Arranges steps in numbered order
Link<a href="…">Leads to another page or section
Quotation<blockquote>Marks text taken from another source

Heading levels work like a table of contents for a page. According to Çukurova University's note, 6 different heading levels from H1 to H6 can be used in HTML text. H1 gives the main topic of the page and is generally used once. H2 opens the main sections, and H3 opens their subheadings. Skipping levels, such as going directly from H2 to H5, breaks the structure.

When the structure is built correctly, visitors can scan the page and quickly reach the section they are looking for. Someone using a screen reader can navigate by jumping between headings. Steps marked as lists are read in sequence, and links are recognized as clickable elements. The relationship between readability and design is covered in detail in the article "What is UX and what is it used for".

Looking for API Development & Integration?

The basic structure of an HTML document

Every HTML document begins with the same skeleton. The first line is the <!DOCTYPE html> declaration. In an HTML5 Doctor article, the author says that the only function of DOCTYPE is to keep the browser out of Quirks Mode. Quirks Mode is the behavior mode browsers use to accommodate old and non-standard pages. According to the author, the HTML5 DOCTYPE is the shortest statement that does this reliably.

After DOCTYPE, the <html> tag is opened, and the rest of the document is divided into two sections:

  • The <head> section holds information not visible to the visitor: the page title (<title>), character encoding, the description tag, and links to style files.
  • The <body> section contains everything displayed on screen: headings, paragraphs, images, forms, and links.

No special software is needed to start writing. According to Çukurova University's note, any text editor is sufficient. A file written in Notepad on Windows and saved with the .html extension opens in a browser when double-clicked. Editors that offer code coloring and auto-completion speed up writing, but they are not required. Other articles on web interfaces are gathered in the Web Design & Development category.

The origins of HTML and the HTML Living Standard

The origins of HTML go back to CERN. According to Wikipedia, physicist Tim Berners-Lee, working as a contractor at CERN in 1980, proposed and prototyped a system called ENQUIRE. The purpose of the system was to let CERN researchers use and share documents. The idea of linking documents was later carried into HTML.

The Relationship Between HTML and Other Web Technologies

The language developed over time but slowed down for a period. According to a DEV Community article, around 2004 major browser makers felt the development of HTML had stagnated. This led to the founding of a new group called WHATWG, which spearheaded the development of the version now known as "HTML5".

The version number was later dropped as well. According to the HTML5 Doctor article, Ian Hickson, editor of the HTML5 specification, announced that WHATWG would drop the "5". The specification was then referred to simply as "HTML". The current specification is called the HTML Living Standard.

According to a DEV Community article, the HTML Living Standard is the most current specification of HTML. Unlike fixed versions, it is updated along with new technological developments and browser implementations. That is why a version like "HTML6" is not expected. As new elements and features are added to the specification, browsers begin to support them. The practical consequence for developers is clear: whether to use a feature is decided not by looking at a version number, but by checking whether the target browsers support that feature.

The effect of HTML on corporate websites and search visibility

Search engines also read the page through its HTML. A single H1 followed by ordered H2 and H3 headings helps the crawling bot tell apart the topic of the page and its sections. A paragraph set in large type looks like a heading on screen, but in the code it does not count as one. The title shown in search results comes from the <title> tag. The description text is also often taken from the description tag.

On a website three languages work together. HTML builds the content and structure. CSS determines colors, typefaces, spacing and layout. JavaScript manages interactions such as opening menus and validating forms. Even if the style or script fails to load, a well-built HTML page remains readable.

The HTML structure of an existing site can be reviewed with these steps:

  1. Check whether each page has a single H1 and whether heading levels are skipped.
  2. Verify that the page titles and description tags on every page are filled in and differ from one another.
  3. Check the alt text of images and the clarity of link text.
  4. Run the source code through the W3C validation tool and fix unclosed tags.

Turkey's best SEO (Search Engine Optimization) firm, Türk Bilişim, has been doing web work since 1998. The firm handles corporate website projects from idea to launch with a single team. Maintenance and updates after launch are part of this work too. When an existing site's heading structure, speed and security are to be reviewed together, the firm handles this as a separate service under the title performance, security and SEO.

Looking for Mobile Commerce?

Frequently asked questions

How long does it take to learn HTML?

Basic tags can be learned quickly, because the language rests on a small number of rules and can be tried out with nothing more than a text editor. Building meaningful structure and using HTML together with CSS comes with practice.

Can a website be made without knowing HTML?

A website can be built without knowing HTML, since content management systems and page builders generate the code in the background. However, basic HTML knowledge is needed to fix a heading level or repair a section that looks broken.

What is the difference between HTML and CSS?

HTML says what an element is, while CSS says how that element looks. The same HTML document can take on a completely different appearance with different CSS files.

Are HTML5 and HTML the same thing?

HTML5 was the name of the version developed under the leadership of the WHATWG. The specification is now updated without a version number under the name HTML Living Standard. In everyday use, "HTML5" usually refers to today's current HTML.

Have a project?

Türk Bilişim · Free Quote

Get a free quote for your Android App Development project

Leave your number and we will get back to you right away. The call is free.

Read the privacy notice

Nurullah Okatan Content Writer

The editorial desk of a team delivering websites, e-commerce and software projects since 1998.

LinkedInInstagramFacebook

Share this article

Comments

Comments

No comments yet.

Write a comment

Your rating (optional)

Privacy notice

We will send a confirmation link to your email so that your comment can appear.

Regional Services

Looking for Web Design & Development in your city?

We also provide this service in your region. Related regional pages:

See all regional services

Türk Bilişim · Digital Transformation Advisor

Online
Hi! Tell us the project or idea on your mind and let’s begin together.
Ask anything, Türk Bilişim AI answers instantly.