Introduction to HTML
1. HTML Basics
HTML (Hypertext Markup Language) is the standard language used to create and design web pages and web applications. It forms the skeleton of any web page by using a set of elements to describe the content of the page. HTML documents are composed of different tags and elements that structure the page content.
1.1 Introduction of HTML
HTML is the fundamental technology used to structure content on the web. It defines the structure of a webpage using a series of elements and tags. These elements are enclosed in angle brackets (< >
). HTML is used for defining the structure of text, links, images, forms, and other types of web content.
For example, a simple HTML page might look like this:
<!DOCTYPE html>
<html>
<head>
<title>My First Webpage</title>
</head>
<body>
<h1>Hello, World!</h1>
<p>Welcome to my website.</p>
</body>
</html>
In this example:
<!DOCTYPE html>
declares the document type.<html>
marks the start and end of the HTML document.<head>
contains metadata like the document title.<body>
holds the actual content visible to users.
Comments
Post a Comment