- AMP:Building Accelerated Mobile Pages
- Ruadhan O'Donoghue
- 157字
- 2021-07-08 10:03:59
Developer tools console
The browser developer console is probably the easiest way to start validating your pages. Since the validator is included in the AMP-JS library, you can validate every page out of the box. To validate an AMP page, open the page in your browser, and add #development=1 to the URL. Your URL will look something like this:
https://theampbook.com/ch2/news.amp.html#development=1
Or, if you're working locally, then your URL will look something like this:
http://localhost/news.amp.html#development=1
Now, with the developer console open, reload the page. You should see some validator output in the console that looks like this:

Ouch! Look at all those red error messages. Each one is telling us about some issue with the AMP page. To get all the benefits of AMP, we will need to address each of these errors to fix our page so that it validates. This will become an important part of your AMP workflow.
- Java逍遙游記
- TypeScript入門與實戰
- TestNG Beginner's Guide
- The Computer Vision Workshop
- 深度學習:算法入門與Keras編程實踐
- Scala for Machine Learning(Second Edition)
- 機器學習微積分一本通(Python版)
- PrimeFaces Blueprints
- Lift Application Development Cookbook
- Learning Splunk Web Framework
- 超簡單:用Python讓Excel飛起來(實戰150例)
- Mastering Leap Motion
- Serverless工程實踐:從入門到進階
- Scratch超人漫游記:創意程序設計:STEAM創新教育指南
- Mastering Android Application Development