Creating First HTML Page

Dear Sciaku Learner you are not logged in or not enrolled in this course.

Please Click on login or enroll now button.

If you have any query feel free to chat us!

Happy Coding! Happy Learning!

Lecture 6:- Creating first HTML Page

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:

  1. The <!DOCTYPE html> declaration at the top of the document specifies that this is an HTML5 document.
  2. The <html> tag defines the root element of the document and contains all other HTML elements.
  3. The <head> tag contains metadata about the document, such as the title of the page, which is displayed in the browser's tab.
  4. The <body> tag contains the main content of the web page.
  5. The <header> tag represents the header of the web page or section.
  6. The <h1> tag represents a heading, with the text inside being the main heading of the page.
  7. The <main> tag represents the main content of the document.
  8. The <p> tag represents a paragraph of text.
  9. The <ul> tag represents an unordered list, with each list item represented by an <li> tag.
  10. The <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.

2. Intro to HTML

2 Comments

@niteshguptav63
niteshguptav63 Nov 17, 2024 at 1:39 PM

I am not able to access videos from second class and further. I have already completed first class

@niteshguptav63
niteshguptav63 Nov 16, 2024 at 10:56 AM

When will I get my course?

@admin79
admin79 Nov 17, 2024 at 1:29 PM

Now, Your query was resolved.

Frequently Asked Questions About Sciaku Courses & Services

Quick answers to common questions about our courses, quizzes, and learning platform

Didn't find what you're looking for?

help_center Contact Support