]> git.ipfire.org Git - thirdparty/foundation/foundation-emails.git/commitdiff
Strict mode changes 126/head
authorJonadabe <jonadabe@hotmail.com>
Thu, 5 Mar 2015 15:48:17 +0000 (15:48 +0000)
committerJonadabe <jonadabe@hotmail.com>
Thu, 5 Mar 2015 15:48:17 +0000 (15:48 +0000)
From 24 errors to 1x3 (<center> tag) in http://validator.w3.org/

templates/examples/sidebar-hero.html

index 430a6c5fdb822afabe31ab4c4d595d017b82ddcb..b66c52bdf24b7d686edaafa550eb7cdb1ae004b1 100644 (file)
@@ -2,11 +2,12 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
   <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-  <meta name="viewport" content="width=device-width"/>
-  <style>
+  <meta name="viewport" content="width=device-width" />
+  <title>Example</title>
+  <style type="text/css">
 {{> ink }}
   </style>
-  <style>
+  <style type="text/css">
 
     table.facebook td {
       background: #3b5998;
                         <table class="twelve columns">
                           <tr>
                             <td class="six sub-columns">
-                              <img src="http://placehold.it/200x50">
+                              <img src="http://placehold.it/200x50" alt="" />
                             </td>
                             <td class="six sub-columns last" style="text-align:right; vertical-align:middle;">
                               <span class="template-label">SIDEBAR HERO</span>
             </tr>
           </table>
 
-          <br>
+          <br/>
 
           <table class="container">
             <tr>
                         <td>
                           <h1>Welcome, Daneel Olivan</h1>
                           <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et.</p>
-                          <img width="580" height="300" src="http://placehold.it/580x300">
+                          <img width="580" height="300" src="http://placehold.it/580x300" alt="" />
                         </td>
                         <td class="expander"></td>
                       </tr>
                 </tr>
               </table>
 
-              <br>  <!-- Break Tag for row -->
+              <br/>  <!-- Break Tag for row -->
 
               <table class="row">
                 <tr>
                               </td>
                             </tr>
                           </table>
-                          <hr>
+                          <hr/>
                           <table>
                             <tr>
                               <td>
                               </td>
                             </tr>
                           </table>
-                          <hr>
+                          <hr/>
                           <table>
                             <tr>
                               <td>
                               </td>
                             </tr>
                           </table>
-                          <hr>
+                          <hr/>
                           <table>
                             <tr>
                               <td>
                               </td>
                             </tr>
                           </table>
-                          <hr>
+                          <hr/>
                           <table>
                             <tr>
                               <td>
                               </td>
                             </tr>
                           </table>
-                          <hr>
+                          <hr/>
                           <table>
                             <tr>
                               <td>
                               </td>
                             </tr>
                           </table>
-                          <hr>
+                          <hr/>
                           <table>
                             <tr>
                               <td>
                         <td class="expander"></td>
                       </tr>
                     </table>
-                    <br>
+                    <br/>
                     <table class="six columns">
                       <tr>
                         <td class="panel">
                             </tr>
                           </table>
 
-                          <hr>
+                          <hr/>
 
                           <table class="tiny-button twitter">
                             <tr>
                             </tr>
                           </table>
 
-                          <hr>
+                          <hr/>
 
                           <table class="tiny-button google-plus">
                             <tr>
                               </td>
                             </tr>
                           </table>
-                          <br>
+                          <br/>
                           <h6 style="margin-bottom:5px;">Contact Info:</h6>
                           <p>Phone: <b>408.341.0600</b></p>
                           <p>Email: <a href="mailto:hseldon@trantor.com">hseldon@trantor.com</a></p>
                   </td>
                 </tr>
               </table>
-              <br>
-              <br>
+              <br/>
+              <br/>
               <!-- Legal + Unsubscribe -->
               <table class="row">
                 <tr>
     </tr>
   </table>
 </body>
-</html>
\ No newline at end of file
+</html>