Your suggested changes are in trunk, including metas on separate lines. 
Thank you!

Massimo

On Monday, 6 August 2012 09:27:42 UTC-5, Rob_McC wrote:
>
> Just a very small point.
>     I made 3 changes to allow me to get HTML validation @ 
> http://validator.w3.org/
>
> I like to validate my code as I go, I seem to forget to close my tags, or 
> silly errors creep in
> if I don't. I know sometimes, I allow my pages *NOT* to pass 
> http://validator.w3.org/ but only with a good reason.
>
> Here are the changes to what is created from web2py's 
> New simple application [ ]
> Application Name _____________ [ Create]
>
> Hope these are correct?
>
> Note: I see they finally got some better logos.. 
> http://www.w3.org/html/logo/ for validation
>
>
> Filename: 
> *Welcome_Valid_HTML/views/default/index.html*
>
> line 7
> <h4/>{{=T('How did you get here?')}}</h4>
>
>
>
> line 7
> <h4>{{=T('How did you get here?')}}</h4>
>
>
> Filename:*Welcome_Valid_HTML/views/default/index.html*
>
> line 17 - removed stray </ul> tag
> </ul>
>
> Filename:*Welcome_Valid_HTML/models/menu.py*line 16 - I removed it
> response.meta.copyright = 'Copyright 2011'
>
> *Question ??*
>
> *Could not figure out*
> I wanted to add some \n to render the meta tags in HTML View Source  -
> on separate lines...
>   but I couldn't figure that out. I mean \n after these meta tags
> response.meta.author = 'Your Name <y...@example.com>'
> response.meta.description = 'a cool new app'
> response.meta.keywords = 'web2py, python, framework'
> response.meta.generator = 'Web2py Web Framework'
>
>
> *With these 3 modifications*
> This document was successfully checked as HTML5!  Result: Passed, *1 
> warning(s)
>
> *
> --
> Ref:
> Original HTML 5 validations
> HTML Validation Errors.
>
> Validation Output: 3 Errors 
>    
>    1. [image: Error] *Line 52, Column 110*: Bad value copyright for 
>    attribute name on element meta: Keyword copyright is not registered. 
>    
>    …"copyright" content="Copyright 2011" /*>*<meta name="description" 
> content="a coo…
>    
>    Syntax of metadata name:A metadata name listed in the HTML 
>    
> specification<http://www.whatwg.org/specs/web-apps/current-work/multipage/semantics.html#standard-metadata-names>or
>  listed in the WHATWG 
>    wiki <http://wiki.whatwg.org/wiki/MetaExtensions>. *You can register 
>    metadata names on the WHATWG 
> wiki<http://wiki.whatwg.org/wiki/MetaExtensions>yourself.
>    * 
>     2. [image: Error] *Line 121, Column 5*: Self-closing syntax (/>) used 
>    on a non-void HTML element. Ignoring the slash and treating as a start 
> tag. 
>    
>    <h4/*>*How did you get here?</h4>
>    
>     ✉<http://validator.w3.org/feedback.html?uri=;errmsg_id=html5#errormsg> 
>     3. [image: Error] *Line 130, Column 5*: Stray end tag ul. 
>    
>    </ul*>*
>    
>    *
>    *
>    
>    
>

-- 



Reply via email to