search
  • Sign In
  • Sign Up
Password reset successful

Follow the proiects vou are interested in andi aet the latestnews about them taster

Home Backend Development XML/RSS Tutorial Introduction of XML and difference from html

Introduction of XML and difference from html

Feb 16, 2017 pm 03:45 PM

1.1 引入
		HTML: 负责网页的结构	
		CSS: 负责网页的样式(美观)
		Javascript: 负责在浏览器端与用户进行交互。

		负责静态的网页制作的语言
			
		HTML语言特点:
				1)由标签组成。 <title> <p> <hr/> <br/>
				2)语法结构松散的    <p></p>   <p>  <P> 
					大小写不区分
					结束标签和开始标签不一定匹配


<html>
	<head>
		<title>this is title</title>
	</head>
	<body>
		<p>html标签</p>
		<P>html标签</P>
		<abc>abc标签</abc>  自定义标签
	</body>
</html>

这种自定义标签可以把他们叫做<span style="color:red;">xml标签</span>。



The difference between xml and html:

##Name:                                                                                                                                                                                               #tend

M
arkup

L

anguge (Extensible Tag Language)

Tags: Tags are specified by w3c and are fixed. There are about 100 tags. Tags are formulated by the developers themselves (must be defined according to a certain grammar) Function: Responsible for the structure of the webpage 1) Describe the data of the belt relationship (as the configuration file of the software): contains the relationship with the contained 2) ”) # The above is the introduction of XML and the difference with html. For more related content, please pay attention to the PHP Chinese website (m.sbmmt.com)!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undress AI Tool

Undress AI Tool

Undress images for free

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

ArtGPT

ArtGPT

AI image generator for creative art from text prompts.

Stock Market GPT

Stock Market GPT

AI powered investment research for smarter decisions

Popular tool

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Use Golang Coverprofile visualization tool_HTML to display uncovered code Use Golang Coverprofile visualization tool_HTML to display uncovered code Feb 13, 2026 am 10:57 AM

The coverage.out generated by gotest-coverprofile is plain text coverage data, which needs to be converted into HTML using gotoolcover-html before it can be visualized. Common blank spaces or jump failures are due to source code path mismatches, so the generation and viewing environment must be consistent.

How to set the indentation of the first line of text in HTML_HTML set the indentation style of the first line of text [Indentation Control] How to set the indentation of the first line of text in HTML_HTML set the indentation style of the first line of text [Indentation Control] Mar 02, 2026 pm 02:15 PM

text-indent only takes effect for block-level elements, inline elements need to set display:block; it may not work in flex/grid containers, it is recommended to use padding-left instead; 2em is not equal to the width of two Chinese characters, ch unit or rem is recommended to improve consistency.

Why can't you take a screenshot or save your mnemonic phrase online? Why can't you take a screenshot or save your mnemonic phrase online? Mar 05, 2026 pm 03:30 PM

Mnemonic phrase security needs to prevent five types of risks: 1. Screenshots causing leakage of photo albums and clouds; 2. Online storage being hijacked through multiple links; 3. System cache retaining copies; 4. Cloud input method uploading content; 5. Browser developer tools capturing DOM plain text.

How to use html/template in Golang to prevent XSS Go language safe template rendering How to use html/template in Golang to prevent XSS Go language safe template rendering Mar 03, 2026 am 06:00 AM

html/template will automatically escape all {{.}} interpolation content: When using html/template, if variables are directly inserted through {{.Var}}, Go will automatically escape HTML special characters when rendering.

Taboos for using CSS inline styles_Why is it not recommended to write styles directly in HTML tags? Taboos for using CSS inline styles_Why is it not recommended to write styles directly in HTML tags? Feb 13, 2026 pm 03:21 PM

Inline style seriously damages the stackability, reusability and maintainability of CSS, and is only acceptable in a few scenarios such as email templates or minimalist static pages.

Simple HTML compressor based on Golang_Remove extra spaces and comments Simple HTML compressor based on Golang_Remove extra spaces and comments Mar 06, 2026 pm 12:18 PM

Notes on using golang.org/x/net/html to parse HTML in Go: skip comment nodes, only format text spaces in non-preformatted contexts, use html.Render to output to avoid self-closing tag errors, and disable compression of script style content.

Use Golang Embed package to embed static resources_compile HTML/images into binary files Use Golang Embed package to embed static resources_compile HTML/images into binary files Feb 28, 2026 pm 12:57 PM

The main reason why embed.FS returns fs.ErrNotExist is that the //go:embed annotation does not closely follow the embed.FS type variable declaration, the path is relative to the Go file rather than the project root directory, or the http.FS package is missing, causing http.FileServer to be unrecognizable. When reading binary resources, string conversion must be avoided, and large files should be used with caution. During the development stage, the build tag should be switched to os.DirFS to achieve hot reloading.

How to install and configure Tomcat_JavaWeb server building analysis in Java How to install and configure Tomcat_JavaWeb server building analysis in Java Feb 08, 2026 pm 01:06 PM

Tomcat is a JavaWeb server that runs independently. You need to configure the JDK correctly first (JAVA_HOME points to the JDK root directory and PATH includes bin), and then decompress it to a path without Chinese and spaces. You can modify the Connector port in conf/server.xml before starting. It is recommended to use WAR packages to deploy applications and put them in the webapps directory.

Related articles