Web Development - Day - 01 With Zain Ali
Web Development - Day - 01 With Zain Ali
Welcome to Day One of the Web Development Course! Today, we'll be starting with the basics of HTML.
By the end of this session, you should have a good understanding of what HTML is and how to create a
basic web page.
1. Introduction to HTML
HTML (Hypertext Markup Language) is the standard language used to create web pages. It provides the
structure of a webpage, allowing you to organize content using elements and tags.
Code:
<Html>
<head>
</head>
<body>
</body>
</html>
Description of code:
<title>: Sets the title of the document, which appears in the browser tab.
<body>: Contains the content of the HTML document, displayed in the browser.
<h1>This is a heading</h1>
<h2>This is a subheading</h2>
2-Paragraphs: `<p>`
<p>This is a paragraph.</p>
3-Links: `<a>`
4-Images: `<img>`
Lists:
1- Unordered Lists: `<ul>` and `<li>`
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ul>
```html
<ol>
<li>First item</li>
<li>Second item</li>
<li>Third item</li>
</ol>
- Use any text editor like Notepad (Windows), TextEdit (Mac), or a code editor like VSCode, Sublime
Text, or Atom.
<!DOCTYPE html>
<html>
<head>
</head>
<ul>
<li>Cats</li>
<li>Dogs</li>
<li>Elephants</li>
</ul>
</body>
</html>
4. Open in Browser:
- Open the saved file in a web browser to see your web page in action.
Congratulations on completing Day One! Today, you learned the basics of HTML and created your first
web page. Practice writing more HTML to get comfortable with the tags and structure.
Stay tuned for tomorrow's session, where we'll dive deeper into HTML and also I check your assigned
homework first before move on so done this on time and we learn more advanced elements and
attributes.