Lean how to create web pages using HTML
You do not have permission to view the full content of this post. Log in or register now.
html
<!DOCTYPE html>
html
<html>
<!-- Your content goes here -->
</html>
html tags, you'll have two main sections: the head and the body.head section is used to define metadata about the web page, such as the title, character encoding, and linking to external stylesheets or scripts. It does not display any visible content on the page.html
<head>
<!-- Metadata and external links go here -->
</head>
body section is where you put the visible content of your web page, such as text, images, and other elements.html
<body>
<!-- Visible content goes here -->
</body>
head tags, you can define the title of your web page, which will be displayed in the browser's title bar or tab.html
<head>
<title>My First Web Page</title>
</head>
body tags, you can start adding content to your web page. A basic HTML element is the h1 tag, which represents a heading. You can use different levels of headings from h1 to h6, with h1 being the highest level.html
<body>
<h1>Welcome to My Web Page</h1>
</body>
p tag.html
<body>
<h1>Welcome to My Web Page</h1>
<p>This is a paragraph of text.</p>
</body>
img tag and provide the src attribute with the URL or file path of the image.html
<body>
<h1>Welcome to My Web Page</h1>
<p>This is a paragraph of text.</p>
<img src="path/to/image.jpg" alt="Description of the image">
</body>
.html extension, such as index.html.