Introduction
HTML is an acronym for HyperText Markup Language, and it is the standard language for creating web-pages. Every web page you surf on your browser is built using HTML. The primary use of HTML to provide a proper structure to the web-page so all the content or data of the page could represent adequately. A stand-alone HTML can create only static and skeleton looking black and white pages, but with the help of CSS and JavaScript , we can create a more interactive and intuitive web-page. When we try to visit a website or click on the link, we basically request the server to show us the page, then the server acts on our request and sends us an appropriate HTML document as a response. Then this HTML document parsed by browse, and we able to see the content.
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<h1>This is a Heading</h1>
<p>This is a paragraph.</p>
</body>
</html>
HTML Editors
However, you can use notepad to create and edit HTML documents, but we recommend to install an open-source editor. There are many free to use text-editor software present on the internet, which provides a better interactive User interface and some add-on functionality which you miss on a notepad.
Here is the list of top 4 HTML text editors you can pick:
- Sublime Text Editor
- Notepad++
- Visual Studio Code
- Atom
HTML Elements
The HTML elements provide the semantic meaning to the web-page content. We usually interchangeably use the term HTML elements and tags, but technically both are different. An HTML tag is just a character inside the angle bracket <>, whereas the HTML element is a collection of starting tag, its attribute, content and end tag. For example:
<p> Hello World </p>