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

Comments: 2

profile
@niteshguptav63
17-Nov-2024, 01:39 PM

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

profile
@niteshguptav63
16-Nov-2024, 10:56 AM

When will I get my course?

profile
@admin79
17-Nov-2024, 01:29 PM

Now, Your query was resolved.

Frequently Asked Questions (FAQs)

How do I register on Sciaku.com?
How can I enroll in a course on Sciaku.com?
Are there free courses available on Sciaku.com?
How do I purchase a paid course on Sciaku.com?
What payment methods are accepted on Sciaku.com?
How will I access the course content after purchasing a course?
How long do I have access to a purchased course on Sciaku.com?
How do I contact the admin for assistance or support?
Can I get a refund for a course I've purchased?
How does the admin grant access to a course after payment?