- 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
- 手機安全和可信應用開發指南:TrustZone與OP-TEE技術詳解
- 深度實踐OpenStack:基于Python的OpenStack組件開發
- RTC程序設計:實時音視頻權威指南
- 快速念咒:MySQL入門指南與進階實戰
- Instant Ext.NET Application Development
- 計算機應用基礎案例教程
- 移動增值應用開發技術導論
- Bootstrap for Rails
- R語言數據挖掘:實用項目解析
- R的極客理想:量化投資篇
- ArcPy and ArcGIS(Second Edition)
- Maya Programming with Python Cookbook
- Flutter for Beginners
- LiveCode Mobile Development Hotshot
- 匯編語言程序設計