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
glibc is the libc library released by gnu, that i...
I used ECharts when doing a project before. Today...
1. Flash plug-in package download address: https:...
Introduction MySQL should be a very common databa...
Specific method: (Recommended tutorial: MySQL dat...
Some common statements for viewing transactions a...
01. Command Overview md5sum - Calculate and verif...
This article describes how to install opencv with...
1. First, the pure HTML file must have an entry i...
Table of contents Preface 1. Linux changes the yu...
binlog is a binary log file that records all DML ...
Recently, I'm learning to use React with Thre...
Table of contents 1. Eclipse configures Tomcat 2....
System environment: centos7.4 1. Check whether th...
Scenario A recent requirement is an h5 page for m...