HTML: the web page format
HTML, the HyperText Markup Language, was proposed by Tim Berners-Lee in the early 1990s and is now maintained as the HTML Living Standard by the WHATWG. An HTML file is plain text with tags that mark headings, paragraphs, links, tables and images. How it looks comes from style sheets (CSS), and scripts can change the page while it is open.
Key facts
- Extensions
- .html, .htm, .zip, .mht, .mhtml
- Media type
- text/html
- Standard
- HTML Living Standard (WHATWG)
Where it is used
Every web page is HTML, and so are many e-mail newsletters, online receipts, booking confirmations, exported help pages and reports generated by software. People save HTML files to keep a copy of a page, and many programs export their reports as HTML.
Strengths
Text reflows to fit any screen, from a phone to a wide monitor, and links connect documents. It is plain text, so it is easy to generate and search. Styles separate content from design, and accessibility features help screen readers.
Limitations
A page often depends on outside resources: images, fonts and style sheets on other servers, plus scripts that load content later. Saved alone, the file may look broken or empty, and the same page can look different in different browsers or later in time.
Converting it to PDF
HTML to PDF renders your file with Chromium, the engine behind Google Chrome, and prints it to PDF pages. Self-contained files convert best; images or styles on other servers may be unavailable, and content that only appears through JavaScript may be missing, so check the result.
Getting it back from a PDF
There is no PDF to HTML tool. If you need the content back for a website, PDF to Text extracts the words as a .txt file and PDF to Word gives an editable DOCX, from which you can copy text into your web editor. Links and layout must be recreated.
Convert with these free tools
Side-by-side comparisons
PDF terms explained
- Embedded fontsAn embedded font is stored inside the PDF so the text looks the same on every device. Learn about font subsets, missing fonts and why archives require embedding.
- Linearized PDF (fast web view)A linearized PDF is arranged so its first page can appear in a browser before the whole file has downloaded. Learn how it works and when it is worth it.
Guides that put it into practice
Common questions
- Why save a web page as PDF?
- A PDF freezes the page as it is today, with fixed pages for printing, records or evidence, while the live page may change or disappear.
- Why is my converted page blank or missing images?
- The file probably loads content with scripts or from other servers. Save the page completely, or print it to PDF from the browser instead.
- Is HTM different from HTML?
- No. .htm is a shorter extension from older systems; both contain the same HTML and our tool accepts both.