- Building Web and Mobile ArcGIS Server Applications with JavaScript(Second Edition)
- Eric Pimpler Mark Lewin
- 194字
- 2021-07-02 15:48:53
Validating HTML code
I've mentioned that it is very important that your HTML tags be coded correctly. This is all well and good you say, but how do I know my HTML has been coded correctly? Well, there are a number of HTML code validators that you can use to check your HTML. The W3C HTML validator (http://validator.w3.org/) shown in the following screenshot can be used to validate HTML code by URI, File Upload, or Direct Input:

Assuming that your HTML code successfully validates you will get a nice screen with a message indicating a successful validation as seen in the following screenshot:

On the other hand, it will identify any problems with a red error message as shown in the following screenshot. Errors are described in detail which makes it easier to correct problems. Often a single error can lead to many other errors so it is not uncommon to see a long list of error items. Don't panic if this is the case. Fixing one error often resolves many others:

To correct the errors in the preceding document you would need to surround the text Hello World with paragraph tags:
<p>Hello World</p>
- 新編Visual Basic程序設計上機實驗教程
- Java程序設計(慕課版)
- Java EE框架整合開發入門到實戰:Spring+Spring MVC+MyBatis(微課版)
- R語言游戲數據分析與挖掘
- Building Minecraft Server Modifications
- Yocto for Raspberry Pi
- NoSQL數據庫原理
- 從零開始學Linux編程
- Python程序設計開發寶典
- Kotlin進階實戰
- Android編程權威指南(第4版)
- Puppet Cookbook(Third Edition)
- PHP程序設計經典300例
- Image Processing with ImageJ(Second Edition)
- OpenCV:Computer Vision Projects with Python