How to develop AMP site while using php |
hi,
can anyone tell me how to create AMP website while using CI4 framework? PHP is server-side and AMP is client-side. is there a way to use AMP on CI4?
Basically an AMP web page consists of loading their own specific JavaScript file and their own specific CSS file which are always required in the HTML head section. Absolutely no other JavaScript script is allowed except their own scripts and additional CSS and HTML must conform to their standards.
Create a “Welcome_message” template with the the two AMP essential files and also shortcuts to their specific HTML validation utilities. Once validation is achieved use the template and add your own HTML and CSS scripts continually validating each incremental addition. Many browsers have AMP validation utilities. Remember that if the web page does not satisfy their strict standards then caching and preferential Google search will not be used. (12-25-2020, 03:40 PM)John_Betong Wrote: Basically an AMP web page consists of loading their own specific JavaScript file and their own specific CSS file which are always required in the HTML head section. Absolutely no other JavaScript script is allowed except their own scripts and additional CSS and HTML must conform to their standards. Thank you, John. Will check. |
Welcome Guest, Not a member yet? Register Sign In |