What are the commonly used tags in XHTML
This time I will bring you what are the commonly used tags in XHTML, and what are the precautions for using common tags in XHTML. The following is a practical case, let's take a look.
What are XHTML tags?XHTML tag elements are the basic building blocks of XHTML documents. XHTML tags can be understood as the tags used by the XHTML language to define "what is this, what is that" in an XHTML document.
XHTML tags are keywords surrounded by angle brackets, often appearing in pairs, such as . This tag indicates that this is an hmtl (xhtml) document. The first tag in a tag pair is the start tag, and the second tag is the end tag.
There are also a small number of tags that are not paired or have no end tags, such as line break tags
.
XHTML tag closing
In the XHTML specification, all tags must be closed. Usually paired tags are closed with a closing tag, and unpaired tags are closed with a space plus />, such as
.
Although the browser can recognize unclosed tags, from a regulatory and long-term perspective, closing tags is necessary.
tag
This tag indicates that this is an hmtl (xhtml) document. Except for the XHTML file type declaration, all other XHTML tag elements must be embedded within the tag.
<html> <head> ... </head> <body> <p>文字段落等正文内容</p> </body> </html>
This tag defines the title of the entire XHTML document and is used to display in the title bar at the top of the browser window. The tag is nested in
.<head> <title>XHTML 标签 - XHTML教程</title> </head>
XHTML document title is divided into 6 levels, defined by
- respectively.
<h1>一级标题</h1>
<h1>二级标题</h1>
<h1>三级标题</h1>
Copy after loginNote that this title is not a title, but usually is at its core equivalent to a XHTML paragraphXHTML paragraph consists of
Tag definition:
<img src="flower.jpg" alt="花" />
Copy after loginIn this tag, provide the image source with the src attribute, and the tag will display the flower.jpg image in the browser.
XHTML Form You have mastered the methods of these cases. For more exciting information, please pay attention to php Chinese website
Other
related articles!
How to use title tags and paragraph tags in XHTML
In HTML/XHTML How to use the img image tag in
In the responsive framework, how to handle the automatic line wrapping of the table header
The above is the detailed content of What are the commonly used tags in XHTML. For more information, please follow other related articles on the PHP Chinese website!
<h1>一级标题</h1> <h1>二级标题</h1> <h1>三级标题</h1>
is at its core equivalent to a XHTML paragraphXHTML paragraph consists of
Tag definition:
<img src="flower.jpg" alt="花" />
Copy after loginIn this tag, provide the image source with the src attribute, and the tag will display the flower.jpg image in the browser.
XHTML Form You have mastered the methods of these cases. For more exciting information, please pay attention to php Chinese website
Other
related articles!
How to use title tags and paragraph tags in XHTML
In HTML/XHTML How to use the img image tag in
In the responsive framework, how to handle the automatic line wrapping of the table header
The above is the detailed content of What are the commonly used tags in XHTML. For more information, please follow other related articles on the PHP Chinese website!
XHTML paragraph consists of
Tag definition:
<img src="flower.jpg" alt="花" />
attribute, and the tag will display the flower.jpg image in the browser.
XHTML Form You have mastered the methods of these cases. For more exciting information, please pay attention to php Chinese website
Other
How to use title tags and paragraph tags in XHTML
In HTML/XHTML How to use the img image tag in
In the responsive framework, how to handle the automatic line wrapping of the table header
The above is the detailed content of What are the commonly used tags in XHTML. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



This tutorial shows you how to find specific text or phrases on all open tabs in Chrome or Edge on Windows. Is there a way to do a text search on all open tabs in Chrome? Yes, you can use a free external web extension in Chrome to perform text searches on all open tabs without having to switch tabs manually. Some extensions like TabSearch and Ctrl-FPlus can help you achieve this easily. How to search text across all tabs in Google Chrome? Ctrl-FPlus is a free extension that makes it easy for users to search for a specific word, phrase or text across all tabs of their browser window. This expansion

Recommended computers suitable for students majoring in geographic information science 1. Recommendation 2. Students majoring in geographic information science need to process large amounts of geographic data and conduct complex geographic information analysis, so they need a computer with strong performance. A computer with high configuration can provide faster processing speed and larger storage space, and can better meet professional needs. 3. It is recommended to choose a computer equipped with a high-performance processor and large-capacity memory, which can improve the efficiency of data processing and analysis. In addition, choosing a computer with larger storage space and a high-resolution display can better display geographic data and results. In addition, considering that students majoring in geographic information science may need to develop and program geographic information system (GIS) software, choose a computer with better graphics processing support.

As a popular short video social platform, Douyin has a huge user base. For Douyin creators, using tags to attract traffic is an effective way to increase the exposure of content and attract attention. So, how does Douyin use tags to attract traffic? This article will answer this question in detail for you and introduce related techniques. 1. How to add tags on Douyin to attract traffic? When posting a video, make sure to choose tags that are relevant to the content. These tags should cover the topic and keywords of your video to make it easier for users to find your video through tags. Leveraging popular hashtags is an effective way to increase your video’s exposure. Research current popular tags and trends and incorporate them into your video descriptions and tags. These popular tags usually have higher visibility and can attract the attention of more viewers. 3. Label

When browsing Douyin works, we often see a clock icon behind the tag. So, what exactly is this clock? This article will focus on the discussion of "What is the clock behind the Douyin label", hoping to provide some useful reference for your use of Douyin. 1. What is the clock behind the Douyin label? Douyin will launch some hot topic challenges. When users participate, they will see a clock icon after the tag, which means that the work is participating in the topic challenge and displays the remaining time of the challenge. For some time-sensitive content, such as holidays, special events, etc., Douyin will attach a clock icon after the label to remind users of the validity period of the content. 3. Popular tags: When a tag becomes popular, Douyin will add a clock icon after the tag to indicate that the tag is

Detailed explanation of the video tag in HTML The video tag in HTML5 is a tag used to play videos on web pages. It can render videos using different formats, such as MP4, WebM, Ogg, and more. In this article, we will introduce the use of video tag in detail and provide specific code examples. Basic Structure The following is the basic structure of the video tag:

Differences: 1. The head tag is used to define the head of the document, which is a container for all head elements, and the header tag is used to define the header (introduction information) of the document; 2. All browsers support the head tag, and older versions of browsers None of the browsers support the header tag, and browsers such as IE9+ and above are required to support the header tag.

How to delete external contact tags on DingTalk app? DingTalk has a function to delete external contact tags, but most friends don’t know how to delete external contact tags on DingTalk. Next is the DingTalk guide that the editor brings to users. Graphical tutorial on how to delete external contact tags in the Ding app. Interested users can come and take a look! How to delete external contact tags in DingTalk app 1. First open DingTalk APP and click the [Management] function as shown below on the main page; 2. Then enter the enterprise management interface and find [External Contacts]; 3. Then on the external contact setting function page, select the [Label Management] service; 4. Then on the main contact label page, select the type of label group you want to delete; 5. Finally, click on the red label group

How to use HTML and CSS to implement a layout with a fixed navigation menu. In modern web design, fixed navigation menus are one of the common layouts. It can keep the navigation menu always at the top or side of the page, allowing users to browse web content conveniently. This article will introduce how to use HTML and CSS to implement a layout with a fixed navigation menu, and provide specific code examples. First, you need to create an HTML structure to present the content of the web page and the navigation menu. Here is a simple example
