


What do you use for the DOCTYPE of your website now? Novice asking for advice_html/css_WEB-ITnose
I just started learning it and I don’t quite understand this thing. How should I use DOCTYPE?
I have seen that the words "DOCTYPE" on many current websites start with . I would like to ask, if I build a website now, can I use this DOCTYPE? Can it achieve good compatibility?
Reply to discussion (solution)
Just use this, everything is compatible.
For the reason why ie6 can parse, see this link: http://i.wanz.im/2010/05/28/why_doctype_html/
It is very useful. Professionally speaking: if the first line of the page is not When this happens, the IE browser, CSS, and JS will be expressed in a non-standard way, and the page will not be the result that everyone expects.
If this appears in the first line, then IE will parse it according to the agreed specifications, and the page will be the one everyone expects.
This is the statement of html5. If you choose to use html5 development, then use it
Specifically choose which statement, According to the needs of the website
The following is a detailed introduction of the W3C statement on . You can check it out
http://www.w3school.com.cn/tags/tag_doctype.asp
Want to advance Just use HTML5.
<!Doctype HTML>
For normal use, use the transitional version of XHTML. The strict version is too strict.

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



Websites for learning C language: 1. C Language Chinese Website; 2. Rookie Tutorial; 3. C Language Forum; 4. C Language Empire; 5. Script House; 6. Tianji.com; 7. Red and Black Alliance; 8, 51 Self-study network; 9. Likou; 10. C Programming. Detailed introduction: 1. C language Chinese website, which is a website dedicated to providing C language learning materials for beginners. It is rich in content, including basic grammar, pointers, arrays, functions, structures and other modules; 2. Rookie tutorials, This is a comprehensive programming learning website and more.

Do you frequently visit the same website at about the same time every day? This can lead to spending a lot of time with multiple browser tabs open and cluttering the browser while performing daily tasks. Well, how about opening it without having to launch the browser manually? It's very simple and doesn't require you to download any third-party apps, as shown below. How do I set up Task Scheduler to open a website? Press the key, type Task Scheduler in the search box, and then click Open. Windows On the right sidebar, click on the Create Basic Task option. In the Name field, enter the name of the website you want to open and click Next. Next, under Triggers, click Time Frequency and click Next. Select how long you want the event to repeat and click Next. Select enable

In macOS Sonoma and Safari 17, you can turn websites into "web apps," which can sit in your Mac's dock and be accessed like any other app without opening a browser. Read on to learn how it works. Thanks to a new option in Apple's Safari browser, it's now possible to turn any website on the internet you frequently visit into a standalone "web app" that lives in your Mac's dock and is ready for you to access at any time. The web app works with Mission Control and Stage Manager like any app, and can also be opened via Launchpad or SpotlightSearch. How to turn any website into

Many friends will check the status of their express delivery in the Cainiao parcel software, and some friends expressed that they want to know how to set up and enable delivery notifications. Let me introduce the operation method for you. Friends who don’t know yet should take a look. 1. After opening the Cainiao Wrap APP on your mobile phone, click "My" in the lower right corner of the page to switch to enter. 2. Click the "Settings" icon in the upper right corner of my page to open it. 3. Next, there is a "Message Notification" in the settings page. After finding it, click on it to enter. 4. Find the "Delivering" item on the package notification settings page, and click the corresponding switch button behind it to set it. When the button is blue, it means that the function is turned on. When the courier status changes to being delivered, we will be notified.

To solve the problem of Python website access speed, use database optimization methods such as indexing and caching. In the process of developing and maintaining Python websites, we often encounter the problem of slow website access speed. In order to improve the response speed of the website, we can use some database optimization methods, such as indexing and caching. This article will introduce how to use these methods to solve Python website access speed problems, and provide corresponding code examples for reference. 1. Use indexes to optimize database queries. Indexes are a fast search structure for data in the database, which can greatly

PHP website: 1. Facebook, one of the largest social media platforms in the world; 2. WordPress, an open source content management system for quickly creating and managing various types of websites; 3. Magento, a powerful e-commerce platform , used to create and manage online stores; 4. Joomla, a popular open source content management system used to build various types of websites; 5. Wikipedia, a free online encyclopedia that provides knowledge and information on various topics; 6. Digg, social news sites and more.

Cainiao announced its official entry into the U.S. container shipping market, providing e-commerce parcel shipping services to overseas Chinese and international students across the United States. According to the relevant person in charge of the Cainiao Overseas Shopping Export Logistics Department, in the U.S. market, Cainiao provides two major consolidation products: air freight and sea freight. Air freight products focus on timeliness. After shipment from the container warehouse, the fastest delivery time is 5 days; sea freight is cheaper, with the lowest shipping fee of 12 yuan for individual group orders, and the fastest delivery time is 15 days. In addition, Cainiao Consolidation supports automatic synchronization of Taobao orders, one-click consolidation of packages across the entire network, and the ability to check package status. According to previous reports on this site, in November last year, Cainiao announced that its cross-border logistics flagship product "Global Five-Day Delivery" has covered 8 countries and regions around the world. Officially, overseas consumers can place orders on AliExpress Choice in 5 countries. Receive packages from China within working days

7 Effective Ways to Quickly Solve Go Language Website Access Speed Problems With the rapid development of the Internet, website access speed is crucial to user experience. As a high-performance programming language, Go language is widely used in building high-concurrency network applications. However, in actual development, we may encounter the problem of slow access to Go language websites. This article will introduce 7 effective ways to solve this problem and provide corresponding code examples. Caching is one of the most common and effective ways to improve website access speed.
