web_development:frontend:html
Table of Contents
Summary of Main HTML Commands
HTML (HyperText Markup Language) is the standard language for creating web pages. Below is a summary of some of the most common and essential HTML tags.
Structural Tags
- <!DOCTYPE> - Declares the document type and version of HTML.
- <html> - The root element of an HTML document.
- <head> - Contains meta-information about the document (title, links, scripts).
- <title> - Sets the title of the document, displayed in the browser tab.
- <body> - Contains the visible content of the document.
Text Formatting
Links and Media
- <a> - Defines a hyperlink. Example: `<a href=“https://example.com”>Link</a>`.
- <img> - Embeds an image. Example: `<img src=“image.jpg” alt=“Description”>`.
- <video> - Embeds a video. Example: `<video controls src=“video.mp4”></video>`.
- <audio> - Embeds audio content. Example: `<audio controls src=“audio.mp3”></audio>`.
Lists
Tables
Forms
Semantic Tags (HTML5)
Meta Tags
Scripts
- <script> - Embeds or links to JavaScript code.
This summary covers the most essential HTML tags for basic web development. You can expand each tag for detailed information and examples.
web_development/frontend/html.txt · Last modified: 2025/02/12 07:55 by 85.219.17.206
