What is HTML? HTML is a language used to describe web pages. •HTML stands for Hyper Text Markup Language HTML Tags HTML markup tags are often referred to as HTML tags. •HTML tags are keywords enclosed in angle brackets, such as <html> HTML Elements An HTML element refers to all the code from the start tag to the end tag.
Note: The start tag is often called the opening tag, and the end tag is often called the closing tag. HTML Element Syntax •HTML elements start with a start tag HTML attributes HTML tags can have attributes. Attributes provide additional information about HTML elements. Attributes always appear as name/value pairs, for example: name="value". Attributes are always specified within the opening tag of an HTML element. Property Example 1: <h1> Defines the start of a heading. <h1 align="center"> has additional information about alignment. TIY: Center the title Property Example 2: <body> defines the body of the HTML document. <body bgcolor="yellow"> has additional information about the background color. TIY : Background color Property Example 3: <table> defines an HTML table. (You will learn more about HTML tables in a later chapter) • HTML documents describe web pages The role of a web browser is to read HTML documents and display them in the form of web pages. Browsers do not display HTML tags; instead, they use the tags to interpret the content of the page. <html> </html> Example explanation • The text between <html> and </html> describes the web page •When you save an HTML file, you can use either the .htm or .html file extension. We use .htm in our examples. This is just a habit that has been formed over a long period of time, because many software in the past only allowed three-letter file suffixes. However, for new software, there is absolutely no problem using .html. The above detailed explanation of the basic concepts of HTML is all the content that the editor shares with you. I hope it can give you a reference. I also hope that you will support 123WORDPRESS.COM. Original URL: http://www.cnblogs.com/sxtywjx/p/5665033.html |
<<: A simple way to clear the CSS, JavaScript and background image cache in the browser
>>: Detailed steps to build an independent mail server on Centos7.9
This article shares the tutorial of MySql install...
You can manage and deploy Docker containers in a ...
Vue methods and properties 1. Methods Usage 1 met...
When we add an svg image to display, react prompt...
After the official release of Activiti7, it has f...
Description of the problem: When the number of as...
First, let me introduce how to install PHP on Cen...
This article introduces the method of implementin...
When we check the source code of many websites, w...
Preface This article uses the new features of MyS...
The virtual machine used is CentOS 8.4, which sim...
1. 85% of ads go unread <br />Interpretatio...
mysql records time-consuming sql MySQL can record...
Table of contents 01 Introduction to MySQL Router...
need After the user fills out the form and clicks...