HTML Formatter / Beautifier
Format HTML (HyperText Markup Language) file for better readibility and consistent
HTML Formatter / Beautifier / Prettier
What is HTML ?
HTML = HyperText Markup Language
HTML is very popular markup language (some are calling it programming language). HTML can be found anywhere on the web, including this site. In HTML, we can found tags everywhere such as <p>
or <b>
. Usually tags must be closed such as <p> test </p>
or <b> bold text </b>
, but for same cases it can be like <br>
or <br/>
.
In short, HTML is the primary building blocks of website that you can find on the internet.
Sample of HTML Document :
<html>
<head>
<title> The Web </title>
<meta name="description" content="The description">
</head>
<body>
<h1>Hello World!</h1>
<p>The Paragraph</p>
</body>
</html>
Why you need to format the HTML ?
Formatted HTML will be easier to read, especially by the programmer. Hence the debugging or collaboration process can be much faster.
We can see that most website use minified HTML to save disk space and bandwidth. So the rule of thumb is for development we use formatted/pretty HTML, and for production we use minified HTML.