HTML Coding
About Course
Here is a beginner’s guide to HTML:
1. What is HTML?
HTML (HyperText Markup Language) is the standard language for creating web pages. It provides the structure and content of a web page using a system of “tags” and “elements.”
2. Setting up your environment:
-
Text Editor:A basic text editor (like Notepad on Windows or TextEdit on macOS) is sufficient for learning. For more advanced features and extensions, consider using a code editor like Visual Studio Code (VS Code).
-
Web Browser:A modern web browser (Chrome, Firefox, Edge, Safari) is needed to view your HTML files.
3. Basic HTML Document Structure:
An HTML document typically follows this structure:
Code
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>My First Web Page</title></head><body> <h1>Welcome to my page!</h1> <p>This is a paragraph of text.</p></body></html>
<!DOCTYPE html>: Declares the document type as HTML5.<html lang="en">: The root element of the HTML page, specifying the language as English.<head>: Contains metadata about the page (not visible on the page itself), such as character set, viewport settings, and the page title.<title>: Sets the title that appears in the browser tab.<body>: Contains all the visible content of the web page.
Course Content
Introduction
-
01:27
-
03:26
-
00:00
-
03:42
-
02:27
-
03:05
-
01:45
-
02:14
-
02:38
-
02:29
