search
HomeWeb Front-endHTML TutorialDiscussion on how to open website hyperlinks_HTML/Xhtml_Web page production


A new window opens. Advantages: When the user clicks on the link, the content currently being browsed will not be replaced, and there is no need to move forward or backward to view the content he has viewed. Disadvantages: After a short visit, a large number of windows will be generated, occupying resources. Each window needs to be closed manually.
1. How to open link
    Opens in a new window
    Advantages: When the user clicks on the link, the content currently being browsed will not be replaced, and there is no need to move forward or backward to view the content they have viewed;
    Disadvantage: After a short visit, a large number of Windows occupy resources. Each window needs to be closed manually; The current window is open
    Advantages: You can always view content in one window without opening many windows and occupying too many resources. There is only one window and it is easy to close;
    Disadvantages: It is very troublesome when the user needs to see the content of several pages or needs to compare them. Or you have to hold down SHIFT to click on the link, but few people know and use this operation; Selectively use new windows and current windows
    Advantages: It can solve the inconvenience caused by the above two methods in a more humane way. The number of windows will not be greatly increased, and users can also switch between reading in multiple windows;
    Disadvantages: The user's needs when clicking a certain link may not be exactly the same as the designer's ideas. The user cannot determine whether the link will be opened in a new window or the current window, causing a certain amount of psychological "pressure" to the user.

2. How to choose how to open a link
    For the same type of information, use the same link opening method; Chinese people are more accepting of links opening in new windows; Use a new window to open in the following situations:
    Channel content links, navigation links, links to extended reading in articles, related content links in articles, when users need to compare products of the same type; The following situations are used to open the current window:
    The paging tag of the article, the page turning tag of the list, the link to the previous/next article of the article, linear tasks (user registration, publishing information, etc.), when the link belongs to the user's linear When required for reading/operation.

3. Link Usability Design Guidelines
    Use link labels that are meaningful, easy to understand, and easily identifiable; Make sure the link tag matches the title of the page being linked to; Do not mislead users to click on text or images that are not links; Repeat important links; Try to use text as link labels; Use different colors to distinguish unused/used links by users; Provide consistent link labeling; Use "pointing-and-clicking" to let users open links; Use appropriate link lengths; a link’s text label should not exceed one line; Tell users which links are internal and which are external links; If there is a link to an image on the page, then make sure that all images on the page are clickable.

4. New perspectives
    Let users choose how to open the link. For example, designers provide users with a small check-box that allows users to decide how to open links. Some websites use icons to describe and guide the nature of links. For example, external links on Wikipedia use small arrows to distinguish them from links within the site.

5. How to open typical domestic website links
1. Online shopping

Current window 0
New window 1
Channel switching
List
Detail
From category
Search from
Internal
Product pictures
Enter the enterprise/store
Alibaba
0
1
1
1
1
1
HC
0
1
1
1
1
1
Made in China Network
0
0
0
0
0
0
Global Sources
0
0
0
0
0
None
Clap
0
1
0
1
1
0
Taobao
0
1
1
1
1
1
Excellent Amazon
0
0
0
0
0
None
* When switching channels, all websites use the method of opening on the current page, and other link operations mostly use the method of opening in a new window
2. Comprehensive portal

Current window 0
New window 1
Channel switching
Links within homepage/channel
Sina
0
1
Sohu
0
1
Yahoo China
0
1
NetEase
1
1
Tencent
1
1
China.com
1
1
3. Comprehensive search category

Current window 0
New window 1
Channel switching
Links within homepage/channel
Google
0
1
Baidu
0
1
Yahoo
0
1
Sogou
0
1
Tencent soso
0
1
*When switching channels, they all use the method of opening on the current page, and when operating other links, they use the method of opening in a new window
Therefore, when switching channels, it is recommended to use the method of opening on the current page; when operating other pages, it is recommended to use the method of opening in a new window. There are also a large number of unreasonable window opening methods on Alipay's website. I hope the above discussion will be helpful to everyone when designing window opening methods.
Statement
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
The Future of HTML: Evolution and Trends in Web DesignThe Future of HTML: Evolution and Trends in Web DesignApr 17, 2025 am 12:12 AM

The future of HTML is full of infinite possibilities. 1) New features and standards will include more semantic tags and the popularity of WebComponents. 2) The web design trend will continue to develop towards responsive and accessible design. 3) Performance optimization will improve the user experience through responsive image loading and lazy loading technologies.

HTML vs. CSS vs. JavaScript: A Comparative OverviewHTML vs. CSS vs. JavaScript: A Comparative OverviewApr 16, 2025 am 12:04 AM

The roles of HTML, CSS and JavaScript in web development are: HTML is responsible for content structure, CSS is responsible for style, and JavaScript is responsible for dynamic behavior. 1. HTML defines the web page structure and content through tags to ensure semantics. 2. CSS controls the web page style through selectors and attributes to make it beautiful and easy to read. 3. JavaScript controls web page behavior through scripts to achieve dynamic and interactive functions.

HTML: Is It a Programming Language or Something Else?HTML: Is It a Programming Language or Something Else?Apr 15, 2025 am 12:13 AM

HTMLisnotaprogramminglanguage;itisamarkuplanguage.1)HTMLstructuresandformatswebcontentusingtags.2)ItworkswithCSSforstylingandJavaScriptforinteractivity,enhancingwebdevelopment.

HTML: Building the Structure of Web PagesHTML: Building the Structure of Web PagesApr 14, 2025 am 12:14 AM

HTML is the cornerstone of building web page structure. 1. HTML defines the content structure and semantics, and uses, etc. tags. 2. Provide semantic markers, such as, etc., to improve SEO effect. 3. To realize user interaction through tags, pay attention to form verification. 4. Use advanced elements such as, combined with JavaScript to achieve dynamic effects. 5. Common errors include unclosed labels and unquoted attribute values, and verification tools are required. 6. Optimization strategies include reducing HTTP requests, compressing HTML, using semantic tags, etc.

From Text to Websites: The Power of HTMLFrom Text to Websites: The Power of HTMLApr 13, 2025 am 12:07 AM

HTML is a language used to build web pages, defining web page structure and content through tags and attributes. 1) HTML organizes document structure through tags, such as,. 2) The browser parses HTML to build the DOM and renders the web page. 3) New features of HTML5, such as, enhance multimedia functions. 4) Common errors include unclosed labels and unquoted attribute values. 5) Optimization suggestions include using semantic tags and reducing file size.

Understanding HTML, CSS, and JavaScript: A Beginner's GuideUnderstanding HTML, CSS, and JavaScript: A Beginner's GuideApr 12, 2025 am 12:02 AM

WebdevelopmentreliesonHTML,CSS,andJavaScript:1)HTMLstructurescontent,2)CSSstylesit,and3)JavaScriptaddsinteractivity,formingthebasisofmodernwebexperiences.

The Role of HTML: Structuring Web ContentThe Role of HTML: Structuring Web ContentApr 11, 2025 am 12:12 AM

The role of HTML is to define the structure and content of a web page through tags and attributes. 1. HTML organizes content through tags such as , making it easy to read and understand. 2. Use semantic tags such as, etc. to enhance accessibility and SEO. 3. Optimizing HTML code can improve web page loading speed and user experience.

HTML and Code: A Closer Look at the TerminologyHTML and Code: A Closer Look at the TerminologyApr 10, 2025 am 09:28 AM

HTMLisaspecifictypeofcodefocusedonstructuringwebcontent,while"code"broadlyincludeslanguageslikeJavaScriptandPythonforfunctionality.1)HTMLdefineswebpagestructureusingtags.2)"Code"encompassesawiderrangeoflanguagesforlogicandinteract

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
1 months agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
1 months agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
1 months agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Chat Commands and How to Use Them
1 months agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

SublimeText3 English version

SublimeText3 English version

Recommended: Win version, supports code prompts!

mPDF

mPDF

mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

MinGW - Minimalist GNU for Windows

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 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)