Introduction to HTML and introduction to html
What is HTML?
HTML is a language used to describe web pages.
- HTML refers to Hyper Text Markup Language)
- HTML is not a programming language, but a markup language)
- A markup language is a set of markup tags)
- HTML uses tag to describe Web pages
HTML Tag
HTML tag is usually called HTML tag ).
- HTML tags are keywords surrounded by Angle brackets, such as
- HTML tags are usually paired, such as <B> and </B>.
- The first tag in the tag pair is the start tag, and the second tag is the end tag.
- The start and end labels are also known as open and closed labels.
HTML document = webpage
- HTML document description webpage
- HTML documents include HTML tags and plain text
- HTML documents are also called Web pages
Web browsers read HTML documents and display them as webpages. The browser does not display HTML tags, but uses tags to explain the content of the page.
Result:
Example
- Text description webpage between
- The text between <body> and </body> is visible on the page.
- The text between
- The text between <p> and </p> is displayed as a paragraph
HTML document content
Different tags allow HTML documents to contain different content, such as text, links, images, lists, tables, forms, and frameworks.
-
Text
-
HTML provides the most abundant support for text. You can set titles, segments, and line breaks at different levels, specify the meaning and appearance of the text, and describe that the plain text is referenced from other places, and so on.
-
Link
-
Links are used to indicate that the content is related to another page or a location on the current page.
-
Image
-
Images are used to make the page more beautiful or provide more information.
-
List
-
A list is used to indicate that a series of entries are related to each other.
-
Table
-
Tables organize data by rows and columns. Many people also use tables for page layout.
-
Form
-
A form is usually composed of text input boxes, buttons, multiple selection boxes, single sheet, and drop-down lists to make HTML pages more interactive.
-
Framework
-
The framework allows the page to contain other pages.
Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.