About html head reference (meta, link)_html/css_WEB-ITnose
/*This header indicates that if GCF is installed, GCF will be used to render the page. If GCF is not installed, the highest version of the IE kernel will be used for rendering. */
/*This header indicates that the IE browser is simulated with IE7 , IE9 still uses IE9 to render */
/*Header Declaration is beneficial to SEO*/
/*General abbreviation like this is enough*/
/*This is the label prompt of the website*/
/*It can prevent users from touching the enlargement screen*/
/*Generally this way of writing is enough*/
/*This way of writing is more rigorous, but it is not necessary. The effect is the same as above*/
/*width - viewport width height - the height of the viewport
initial-scale - the initial scaling ratio
minimum-scale - the minimum scale that the user is allowed to zoom to
maximum-scale - the maximum scale that the user is allowed to zoom to
user -scalable - whether the user can manually zoom*/
/* This is a method of writing ico in html. In addition, both the js and php background can control the replacement of ico in the original static html*/
/* Among themThis code is the most critical*/
/*The code below can also display the icon in the favorites*/
First: Optimized for handheld devices, mainly for some older and older devices. Browsers that recognize viewports, such as BlackBerry (although BlackBerry has a very low market share in China, there are advantages to multiple companies)
Second: Microsoft's old-fashioned browser (you can not use this, it is basically gone. )
Third: UC Browser (a mobile browser with a strong market share)
Forced vertical screen:
Force full screen:
Application mode:
QQ browser (I won’t say more about Tencent, the user group is there)
Mandatory Portrait screen:
Force full screen:
Application mode:
Fourth: windows phone click without highlight
Sixth: Ignore the numbers in the page and identify them as phone numbers and an email identification
Here you can set address=no;email=no;telephone=no separated by semicolons.
Seventh: Whether to enable the webapp function will delete the default Apple toolbar and menu bar
Eighth: When starting the webapp function, display the top navigation of mobile phone signal, time and battery The color of the bar.
Ninth: Hide the browser navigation bar
How to turn off the automatic keyboard in iOS Capitalization
We know that in iOS, when the virtual keyboard pops up, the keyboard is enabled by default to capitalize the first letter
The mobile version of webkit provides the autocapitalize attribute for the input element, by specifying autocapitalize=" off" to turn off the keyboard's default capitalization
Cache Control
HTTP Refresh
WAP browsers do not support the tag to control caching, but they do know the meaning of the HTTP header "Cache-Control: no-cache". In this case,
The solution is to set the HTTP header in the HTTP response on the server side
/*About forcing full screen IOS*/
/* Regarding the label issue, each browser may have its own setting method. This is the document link address of IOS*/
https://developer.apple.com/library /safari/documentation/AppleApplications/Reference/SafariHTMLRef/Articles/MetaTags.html
About setting the function of adding a home screen to the IOS desktop (can make the web page more like a native app)
Among them, apple-touch-icon-precomposed has rounded corners/highlight modification when added to the desktop, apple-touch-icon only handles rounded corners, no Highlight modification
dns-prefetch is a new content of HTML5. It is mainly used for front-end optimization, reducing DNS requests and pre-resolving DNS. As you can see from the above example, it caches the domain name and automatically obtains it when the user clicks on the address of other pages. This controls the browser to resolve the domain name.
In addition, can set whether the current page requires DNS resolution. content="on" means parsing/content="off" means not parsing. Parsed by default.

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

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

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

HTML is suitable for beginners because it is simple and easy to learn and can quickly see results. 1) The learning curve of HTML is smooth and easy to get started. 2) Just master the basic tags to start creating web pages. 3) High flexibility and can be used in combination with CSS and JavaScript. 4) Rich learning resources and modern tools support the learning process.

HTML defines the web structure, CSS is responsible for style and layout, and JavaScript gives dynamic interaction. The three perform their duties in web development and jointly build a colorful website.

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

AnexampleofastartingtaginHTMLis,whichbeginsaparagraph.StartingtagsareessentialinHTMLastheyinitiateelements,definetheirtypes,andarecrucialforstructuringwebpagesandconstructingtheDOM.

GiteePages static website deployment failed: 404 error troubleshooting and resolution when using Gitee...

To achieve the effect of scattering and enlarging the surrounding images after clicking on the image, many web designs need to achieve an interactive effect: click on a certain image to make the surrounding...

The Y-axis position adaptive algorithm for web annotation function This article will explore how to implement annotation functions similar to Word documents, especially how to deal with the interval between annotations...

HTML, CSS and JavaScript are the three pillars of web development. 1. HTML defines the web page structure and uses tags such as, etc. 2. CSS controls the web page style, using selectors and attributes such as color, font-size, etc. 3. JavaScript realizes dynamic effects and interaction, through event monitoring and DOM operations.
