- AMP:Building Accelerated Mobile Pages
- Ruadhan O'Donoghue
- 178字
- 2021-07-08 10:03:59
Building Your First AMP Page
In this chapter, we're going to build on the boilerplate code from the previous chapter. We'll see how to build a simple news article page, while highlighting similarities and differences between AMP-HTML and regular HTML.
We'll also learn about AMP validation. Validation is a key step in the AMP development workflow. We'll see what happens when you use HTML tags that aren't permitted and we'll learn how to develop and debug AMP pages, making use of the AMP validator and browser developer console as indispensable tools. What AMP takes with one hand in restricting HTML tags, it gives with the other, in providing custom elements. We'll see how custom elements can be used in your AMP pages to add functionality otherwise unavailable.
So, in this chapter we'll be covering:
- How to develop pages in AMP, and how to convert a non-AMP HTML page to AMP-HTML
- Restricted HTML tags in AMP
- How to validate and debug your AMP pages
- What AMP custom elements are
- How to use amp-img
- How to measure web page performance
- Interactive Data Visualization with Python
- C語言程序設(shè)計立體化案例教程
- HTML5游戲開發(fā)案例教程
- Learning Python Design Patterns(Second Edition)
- STM32F0實(shí)戰(zhàn):基于HAL庫開發(fā)
- Interactive Applications Using Matplotlib
- C語言程序設(shè)計
- 微信小程序全棧開發(fā)技術(shù)與實(shí)戰(zhàn)(微課版)
- Learning VMware vSphere
- 現(xiàn)代C:概念剖析和編程實(shí)踐
- Mudbox 2013 Cookbook
- Building UIs with Wijmo
- Head First Kotlin程序設(shè)計
- RESTful Web API Design with Node.js(Second Edition)
- MySQL核心技術(shù)與最佳實(shí)踐