Fixed a few snippets in accordance with the recommendations of w3c

Fixed a few snippets in accordance with the recommendations of w3c