Class Notes1html
Class Notes1html
Here are some basic class notes for HTML (Hypertext Markup Language):
**Session 5: Lists**
- `<ul>`: Unordered (bulleted) list.
- `<ol>`: Ordered (numbered) list.
- `<li>`: List item within `<ul>` or `<ol>`.
**Session 6: Links**
```html
<a href="https://www.example.com">Visit Example</a>
```
- `<a>`: Anchor tag used for creating hyperlinks.
- `href`: Attribute for specifying the destination URL.
**Session 7: Images**
```html
<img src="image.jpg" alt="Description of Image">
```
- `<img>`: Embeds images.
- `src`: Specifies the image file source.
- `alt`: Provides alternative text for accessibility.
**Session 8: Forms**
```html
<form action="submit.php" method="post">
<label for="name">Name:</label>
<input type="text" id="name" name="name">
<input type="submit" value="Submit">
</form>
```
- `<form>`: Creates a form for user input.
- `action`: Specifies the URL where form data will be sent.
- `method`: Defines the HTTP method (e.g., POST or GET).
- `<input>`: Input elements for various purposes.
<audio controls>
<source src="audio.mp3" type="audio/mpeg">
</audio>
```
- `<video>` and `<audio>` elements for embedding multimedia content.
- `controls`: Adds playback controls.
These are some fundamental topics covered in an introductory HTML class. HTML is a
vast subject, so students typically continue to learn about more advanced topics
like CSS (Cascading Style Sheets) and JavaScript to enhance their web development
skills.