INTRODUCTION TO HTML

ali_neema

Susan Neema

Posted on March 16, 2022

INTRODUCTION TO HTML

HTML stands for Hyper Text Markup Language and it is used for creating web pages.
Let's dive in directly to a simple HTML code.

<!DOCTYPE html>
<html>
<head>
<title>First Program</title>
</head>
<body>

<h1>My First Heading</h1>
<p>My first HTML paragraph.</p>

</body>
</html>
Enter fullscreen mode Exit fullscreen mode

You can write the above code on a simple text editor or on Notepad. Text editors you can code on include Sublime Text Editor and VS code.

Tags

Referring to the above code,

<!DOCTYPE html>
Enter fullscreen mode Exit fullscreen mode

Describes the type of document above, in our case, it is an HTML type of document.

<html></html>
Enter fullscreen mode Exit fullscreen mode

Describes the beginning and the end of an HTML document.

<head></head>
Enter fullscreen mode Exit fullscreen mode

Contains the information about the HTML page.

<title></title>
Enter fullscreen mode Exit fullscreen mode

Contains the title to our web page and is located at the browser's page tab.

<body></body>
Enter fullscreen mode Exit fullscreen mode

This is where all the contents about the web page are put.

💖 💪 🙅 🚩
ali_neema
Susan Neema

Posted on March 16, 2022

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related

HTML SUMMARY.
beginners HTML SUMMARY.

June 18, 2022

HTML FORMS
beginners HTML FORMS

June 7, 2022

INTRODUCTION TO HTML
beginners INTRODUCTION TO HTML

March 16, 2022

Html Forms and different Form controls.
beginners Html Forms and different Form controls.

February 2, 2022