HTML Introduction
HTML Introduction
HTML stands for HyperText Markup Language. It is used for creating and designing web pages.
HTML is markup language used to structure content on the web pages.
why you learn html?
- Used to creating websites or web applications
- HTML is crucial for building dynamic and interactive web experiences
- HTML opens up opportunities in web development, design, content creation, digital marketing, and related fields
- HTML is often a stepping stone for individuals who want to delve into programming and computer science
Simple "Hello World" Website:
Let's see the code below:
Example
<!DOCTYPE html>
<html lang="en">
<head>
<title>Hello World</title>
</head>
<body>
<h1>Hello World!</h1>
<p>This is a simple "Hello World" website.</p>
</body>
</html>
Basic HTML Tag
- <!DOCTYPE html>: declaration defines that this document is an HTML5 document
- <html lang="en">: This tag represents the root element of the HTML document.
- <head>: element contains meta information about the HTML page
- <title>Hello World</title>: This tag specifies the title of the HTML document, which appears in the browser's title bar or tab.
- <body> element defines the document's body, and is a container for all Content.
- </html>: This tag marks the end of the HTML document