


Not found.
Reply to discussion (solution)
Don’t understand what you mean?
Don’t understand what you mean?
content
content
You add# What does the number mean? When you write an id, you either need to set a style for it separately or to get a value. When you write a name, you usually want to get a value.
What does the # sign mean when you add an id? It sets the style, or it needs to get the value. Writing name is usually to get the value
I made a typo, there is no #. This is not a style.
It’s mainly about what you want to do
I’ve told you how to use it, it’s up to you how to use it, please give me points after finishing the post
It’s mainly about what you want to do Why
go to Baidu “anchor” yourself. What I want is standards.
It is recommended to use id, follow xhtml rules, and is supported in IE, Firefox, Chrome, and Opera. The name attribute has restrictions compared to tags
It is recommended to use id, follow xhtml rules, and is supported in IE, Firefox, Chrome, and Opera. There are restrictions on the name attribute compared to the label
http://stackoverflow.com/questions/484719/html-anchors-with-name-or-id
Found something. It's too long. Let's read it tomorrow.
According to the standard, as the anchor point of positioning, the position is generally unique, so the name should be unique, so using ID is more standardized than NAME. This is HTML5's response to The reason for the cleanup.
If you don’t consider HTML5, there is no need to discuss this issue, because regardless of whether the specification is standardized or not, it is indeed effective and its existence is reasonable.
And if you consider it As for HTML5, there is nothing to discuss, because is no longer recognized by it.

The article discusses the HTML <datalist> element, which enhances forms by providing autocomplete suggestions, improving user experience and reducing errors.Character count: 159

The article discusses using HTML5 form validation attributes like required, pattern, min, max, and length limits to validate user input directly in the browser.

The article discusses the HTML <progress> element, its purpose, styling, and differences from the <meter> element. The main focus is on using <progress> for task completion and <meter> for stati

The article discusses the <iframe> tag's purpose in embedding external content into webpages, its common uses, security risks, and alternatives like object tags and APIs.

The article discusses the HTML <meter> element, used for displaying scalar or fractional values within a range, and its common applications in web development. It differentiates <meter> from <progress> and ex

Article discusses best practices for ensuring HTML5 cross-browser compatibility, focusing on feature detection, progressive enhancement, and testing methods.

This article explains the HTML5 <time> element for semantic date/time representation. It emphasizes the importance of the datetime attribute for machine readability (ISO 8601 format) alongside human-readable text, boosting accessibilit

The article discusses the viewport meta tag, essential for responsive web design on mobile devices. It explains how proper use ensures optimal content scaling and user interaction, while misuse can lead to design and accessibility issues.


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

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool

Dreamweaver Mac version
Visual web development tools

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

MinGW - Minimalist GNU for Windows
This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

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