Programmation HTML by Shika Hinugera Ve
Programmation HTML by Shika Hinugera Ve
Introduction
Hello everyone! Today, we’re going to take our first steps into the exciting world of creating
websites. You’ve probably visited many sites on the internet, and you may have wondered
how they’re made. Well, the answer is simple: by using a language called HTML.
What is HTML?
Imagine you’re building a house. You need a structure, like walls and a roof, to hold every-
thing together. In web programming, HTML is that structure. It’s a language that tells the
computer how to organize the content of your web page.
HTML stands for HyperText Markup Language. Don’t worry, it’s less complicated
than it sounds.
<html>: This tag tells the computer that all the code inside is HTML. It’s like the
beginning of your house.
<head>: This is the head of your web page. We put information like the title of the
page here.
<title>: This is the title of your web page, the one that appears in the browser tab.
<body>: This is the body of your web page. This is where you put all the content you
want to display: text, images, etc.
<h1>, <h2>, <h3>... <h6>: These are the tags for headings. <h1> is the most important
heading, <h2> a bit less, and so on.
<img>: This is the tag for displaying an image. We need the address (URL) of the
image for it to work.
<head>: The head of the document where we put information about the page.
– <title>My First Web Page</title>: The title of the page that appears in the
browser tab.
<body>: The body of the document where we put the visible content.
2. Copy the HTML code: Copy the example code above and paste it into your editor.
3. Save the file: Save the file with the .html extension. For example, my page.html.
4. Open the file with your browser: Go to the folder where you saved the file, and
double-click on it. Your browser will open it and display your web page.
Next Steps
Today, we’ve seen the basics of HTML. In the next lessons, we’ll learn to make our web
pages more beautiful with CSS, and to make them interactive with JavaScript.
Don’t hesitate to ask questions and try to modify the code to see what happens. The
best way to learn is by practicing!