HTML is the first basic knowledge required to start making a website, and in today's article, I will briefly introduce HTML. Let's explore it together right away!

I. What is HTML?

HTML is an abbreviation of Hyper Text Markup Language. In simple terms, HTML is a language used to design and arrange content, images, and all elements on a website.

To learn HTML, you should prepare an editor for HTML coding like Notepad++, Sublime text... and surely your computer already has a web browser installed, for instance, Google Chrome, CocCoc...

II. Points to remember before learning HTML

HTML is easy to learn, but hard to code accurately. Almost anyone new to coding can manage, but accurately? That's rare.

When you code HTML well, learning CSS becomes easy and vice versa. If you can't manage to code HTML accurately, coding CSS will become a challenge.

To code HTML accurately, you must grasp the meaning of each tag. For instance, when coding a title line, you would need to use a heading tag like H1, H2, H3... rather than the p tag, even though it could still display the intended result with CSS.

Another key point is that before coding a website interface, you should have an overall view of it to use appropriate tags and divide it into appropriate sections.

III. HTML Examples

<!DOCTYPE html>
<html>
<head>
<title>Tiêu đề</title>
</head>
<body>

<h1>Tiêu đề lớn</h1>
<p>Nội dung văn bản</p>

</body>
</html>

IV. How to Run a Demo

Install any text editor like Notepad++, Sublime text...

Open your text editor and paste the example code into the editor.

Save the file with a .html extension, then open it with a browser.

The resulting display will look as follows:

Ngọc Phương

Web Developer

Thank you for visiting my blog. My name is Phuong and I have more than 10 years of experience in website development. I am confident in asserting myself as an expert in creating impressive and effective websites. Anyone in need of website design can contact me via Zalo at 0935040740.

0 feedback