If you have any query feel free to chat us!
Happy Coding! Happy Learning!
Here is a basic example of an HTML page:
phpCopy code
<!DOCTYPE html>
<html>
<head>
<title>My First HTML Page</title>
</head>
<body>
<header>
<h1>Welcome to my website!</h1>
</header>
<main>
<p>Hello, and welcome to my first HTML page! This is a simple example of how you can use HTML to create web pages.</p>
<ul>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ul>
</main>
<footer>
<p>Copyright © 2023</p>
</footer>
</body>
</html>
Here's a breakdown of the code:
<!DOCTYPE html>
declaration at the top of the document specifies that this is an HTML5 document.<html>
tag defines the root element of the document and contains all other HTML elements.<head>
tag contains metadata about the document, such as the title of the page, which is displayed in the browser's tab.<body>
tag contains the main content of the web page.<header>
tag represents the header of the web page or section.<h1>
tag represents a heading, with the text inside being the main heading of the page.<main>
tag represents the main content of the document.<p>
tag represents a paragraph of text.<ul>
tag represents an unordered list, with each list item represented by an <li>
tag.<footer>
tag represents the footer of the web page or section.To create your first HTML page, simply copy the code above into a text editor, save the file with a .html extension (e.g. "my-first-html-page.html"), and open it in a web browser. The page should display in the browser window as a simple website with a header, main content, and footer.
Comments: 2
I am not able to access videos from second class and further. I have already completed first class
When will I get my course?
Now, Your query was resolved.