Search code examples
asp.net-mvcamp-html

Create AMP page in asp.net MVC 5


I am trying to create an AMP project using Asp.net MVC 5. After putting all things correctly I still get error as below in AMP validator. enter image description here


Solution

  • You can not use text/javascript in AMP pages. AMP pages has their own style tags. We can not use inline style to AMP pages. The content written within tag has to be minified.