Welcome to My First Web Page!
This is a paragraph.
`, `
`, etc.
2. **HTML Attributes**: Attributes provide additional information about an HTML element. They are specified within the opening tag, in the form `attribute="value"`. For example, in the `` tag, the `src` attribute specifies the source of the image.
3. **HTML Elements**: An HTML element is created by enclosing content between the opening and closing tags of an HTML tag. For example, `
This is a paragraph.
` creates a paragraph element. 4. **HTML DocType**: The DOCTYPE declaration defines the document type and version of HTML being used. It is the first line in an HTML document. For example, `` for HTML5. 5. **HTML Comments**: HTML comments are used to provide explanations or temporary code that is not displayed in the browser. They are enclosed between `` or `` for multi-line comments. 6. **HTML Forms**: HTML forms allow users to interact with a web page by submitting data. They consist of input fields, submit buttons, and other elements. Code Blocks: Code blocks can be used to display code in an HTML document. They are enclosed within `` tags.
```html
function greet(name) {
console.log("Hello, " + name);
}
```
In this example, the `` tag preserves the formatting of the code, and the `` tag specifies that the content is code.
References:
- *HTML: The Definitive Guide* by David McFarland
- *HTML & CSS: Design and Build Websites* by Jon Duckett
- [W3Schools HTML Tutorial](https://www.w3schools.com/html/)
- [MDN Web Docs HTML](https://developer.mozilla.org/en-US/docs/Web/HTML)