Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Auto Save

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <!DOCTYPE HTML>
<html lang="fr" xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="x-apple-disable-message-reformatting">
<title>National Geographic</title>
<!--[if (gte mso 9)|(IE)]>
<style type="text/css">
table {border-collapse:collapse;}
</style>
<![endif]-->
<style type="text/css">
html, body {
	margin:0 auto !important;
	padding:0 !important;
	height:100% !important;
	width:100% !important;
}
body {
	margin:0 !important;
	background-color:#000000;
}
* {
	-webkit-text-size-adjust:none;
	-ms-text-size-adjust:none;
}
 div[style*="margin:16px 0"] {
 margin:0 !important;
}
table, td {
	mso-table-lspace:0pt !important;
	mso-table-rspace:0pt !important;
}
table {
	border-spacing:0 !important;
	border-collapse:collapse !important;
	mso-table-lspace:0pt;
	mso-table-rspace:0pt;
	margin:0;
	padding:0;
	border:none;
}
table table table {
	table-layout:auto;
}
img {
	-ms-interpolation-mode:bicubic;
	border:0;
	display:block;
	outline:none;
	height:auto !important;
}
img.g-img+div {
	display:none !important;
}
*[x-apple-data-detectors], .x-gmail-data-detectors, .x-gmail-data-detectors *, .aBn {
	border-bottom:0 !important;
	cursor:default !important;
	color:inherit !important;
	text-decoration:none !important;
	font-size:inherit !important;
	font-family:inherit !important;
	font-weight:inherit !important;
	line-height:inherit !important;
}
.a6S {
	display:none !important;
	opacity:0.01 !important;
}
.button-link {
	text-decoration:none !important;
}
td {
	padding:0;
}
a[x-apple-data-detectors] {
	color:inherit !important;
	text-decoration:none !important;
	font-size:inherit !important;
	font-family:inherit !important;
	font-weight:inherit !important;
	line-height:inherit !important;
}
.ReadMsgBody {
	width:100%;
}
.ExternalClass {
	mso-line-height-rule:exactly;
	line-height:100%;
	width:100%;
}
@media screen and (max-width:540px) {
 html, body, th {
 -webkit-text-size-adjust:none;
}
 .width100pc {
 width:100% !important;
}
 .fontsize50px {
 font-size:50px !important;
}
 .lineheight48px {
 line-height:48px !important;
}
}
</style>
<!--[if gte mso 9]>
<xml>
<o:OfficeDocumentSettings>
<o:AllowPNG/>
<o:PixelsPerInch>96</o:PixelsPerInch>
</o:OfficeDocumentSettings>
</xml>
<![endif]-->
</head>

<body style="background-color:#000000; background:#000000; margin:0px; padding:0px;" bgcolor="#000000">
<table style="width:100%; margin:0px auto;" role="presentation" align="center" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td bgcolor="#000000" style="padding:0 10px;"><table style="width:540px; margin:0px auto;" align="center" role="presentation" border="0" cellspacing="0" cellpadding="0" class="width100pc">
        <tr>
          <td style="padding-top:10px;"><p style="margin:0px; padding:0px; text-align:center; font-family:Tahoma, Geneva, sans-serif; color:#999999; font-size:10px; mso-line-height-rule:exactly; line-height:18px;"><a href="#toreplace" target="_blank" style="color:#999999; text-decoration:underline;">Version web</a></p></td>
        </tr>
        <tr>
          <td align="center" style="padding:20px 0 40px;"><a href="#toreplace" target="_blank"><img src="https://badsender.com/wp-upload/20190724_fonds_multiples/images/national_geographic_01.jpg" width="170" height="50" alt="National Geographic" border="0" style="display:block; margin:0px auto; font-family:Tahoma, Geneva, sans-serif; color:#FFFFFF; font-size:16px;"></a></td>
        </tr>
        <tr>
          <td bgcolor="#C1EBEA" width="540" height="540" valign="top" style="width:540px; height:540px; vertical-align:top; background-color:#C1EBEA; background:#C1EBEA;"><!--[if gte mso 9]>
  <v:rect xmlns:v="urn:schemas-microsoft-com:vml" fill="true" stroke="false" style="width:540px;height:540px;">
    <v:fill type="frame" src="https://badsender.com/wp-upload/20190724_fonds_multiples/images/background_01.jpg" color="#C1EBEA" />
    <v:textbox inset="0,0,0,0">
  <![endif]-->
            
            <div>
              <table style="width:100%; margin:0px auto;" align="center" role="presentation" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td background="https://badsender.com/wp-upload/20190724_fonds_multiples/images/background_01.jpg" height="540" width="540" style="height:540px; width:540px; background-image:url(https://badsender.com/wp-upload/20190724_fonds_multiples/images/montgolfieres_01.gif), url(https://badsender.com/wp-upload/20190724_fonds_multiples/images/soleils_01.gif), url(https://badsender.com/wp-upload/20190724_fonds_multiples/images/voitures_01.gif), url(https://badsender.com/wp-upload/20190724_fonds_multiples/images/moutons_01.png), url(https://badsender.com/wp-upload/20190724_fonds_multiples/images/arbres_01.png), url(https://badsender.com/wp-upload/20190724_fonds_multiples/images/routes_01.png), url(https://badsender.com/wp-upload/20190724_fonds_multiples/images/collines_01.png), url(https://badsender.com/wp-upload/20190724_fonds_multiples/images/maisons_01.png), url(https://badsender.com/wp-upload/20190724_fonds_multiples/images/mers_01.png), url(https://badsender.com/wp-upload/20190724_fonds_multiples/images/arbres_02.png), url(https://badsender.com/wp-upload/20190724_fonds_multiples/images/routes_02.png), url(https://badsender.com/wp-upload/20190724_fonds_multiples/images/collines_02.png), url(https://badsender.com/wp-upload/20190724_fonds_multiples/images/montagnes_01.png), url(https://badsender.com/wp-upload/20190724_fonds_multiples/images/nuages_01.gif); background-position:top right, top right, bottom left, bottom left, bottom left, bottom left, bottom left, bottom left, bottom left, bottom right, bottom right, bottom right, bottom right, top left; background-repeat:no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat; background:url(https://badsender.com/wp-upload/20190724_fonds_multiples/images/montgolfieres_01.gif) no-repeat top right, url(https://badsender.com/wp-upload/20190724_fonds_multiples/images/soleils_01.gif) no-repeat top right, url(https://badsender.com/wp-upload/20190724_fonds_multiples/images/moutons_01.png) no-repeat bottom left, url(https://badsender.com/wp-upload/20190724_fonds_multiples/images/arbres_01.png) no-repeat bottom left, url(https://badsender.com/wp-upload/20190724_fonds_multiples/images/voitures_01.gif) no-repeat bottom left, url(https://badsender.com/wp-upload/20190724_fonds_multiples/images/routes_01.png) no-repeat bottom left, url(https://badsender.com/wp-upload/20190724_fonds_multiples/images/collines_01.png) no-repeat bottom left, url(https://badsender.com/wp-upload/20190724_fonds_multiples/images/maisons_01.png) no-repeat bottom left, url(https://badsender.com/wp-upload/20190724_fonds_multiples/images/mers_01.png) no-repeat bottom left, url(https://badsender.com/wp-upload/20190724_fonds_multiples/images/arbres_02.png) no-repeat bottom right, url(https://badsender.com/wp-upload/20190724_fonds_multiples/images/routes_02.png) no-repeat bottom right, url(https://badsender.com/wp-upload/20190724_fonds_multiples/images/collines_02.png) no-repeat bottom right, url(https://badsender.com/wp-upload/20190724_fonds_multiples/images/montagnes_01.png) no-repeat bottom right, url(https://badsender.com/wp-upload/20190724_fonds_multiples/images/nuages_01.gif) no-repeat top left; vertical-align:top;" class="width100pc" align="center"><table style="width:100%; margin:0px auto;" role="presentation" align="center" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td style="padding:135px 30px 30px;"><h1 style="margin:0px; padding:0px; font-weight:bold; color:#617286; font-size:60px; font-family:Tahoma, Geneva, sans-serif; mso-line-height-rule:exactly; line-height:58px; text-align:center;" class="fontsize50px lineheight48px">Partez à l'aventure !</h1></td>
                      </tr>
                    </table></td>
                </tr>
              </table>
            </div>
            
            <!--[if gte mso 9]>
    </v:textbox>
  </v:rect>
  <![endif]--></td>
        </tr>
        <tr>
          <td bgcolor="#FFFFFF" align="center"><table style="width:100%; margin:0px auto;" role="presentation" align="center" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td style="padding:50px 40px;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td><h2 style="margin:0px; padding:0px; font-weight:bold; color:#000000; font-size:24px; font-family:Tahoma, Geneva, sans-serif; mso-line-height-rule:exactly; line-height:28px; text-align:center;">Suivez Gordon Ramsay dans son voyage gastronomique à travers le monde</h2></td>
                    </tr>
                    <tr>
                      <td style="padding:15px 0;"><p style="margin:0px; padding:0px; color:#444444; font-size:15px; font-family:Tahoma, Geneva, sans-serif; mso-line-height-rule:exactly; line-height:23px; text-align:center;">Un chef, six destinations savoureuses&nbsp;: découvrez les conseils de voyage dispensés par cet aventurier culinaire dans sa nouvelle série National Geographic.</p></td>
                    </tr>
                    <tr>
                      <td><p style="margin:0px; padding:0px; color:#444444; font-size:15px; font-family:Tahoma, Geneva, sans-serif; mso-line-height-rule:exactly; line-height:23px; text-align:center;"><a href="#toreplace" target="_blank" style="color:#444444; text-decoration:none;"><span style="text-decoration:underline;">Je découvre</span>&nbsp;&gt;</a></p></td>
                    </tr>
                  </table></td>
              </tr>
            </table></td>
        </tr>
        <tr>
          <td bgcolor="#ECC51D" align="center"><table style="width:100%; margin:0px auto;" role="presentation" align="center" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td style="padding:40px;" align="center"><table style="width:100%; margin:0px auto;" role="presentation" align="center" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td bgcolor="#FFFFFF" style="padding:40px 0;"><table style="width:100%; margin:0px auto;" role="presentation" align="center" border="0" cellspacing="0" cellpadding="0">
                          <tr>
                            <td align="center"><img src="https://badsender.com/wp-upload/20190724_fonds_multiples/images/couvertures_01.jpg" width="160" height="232" alt="National Geographic" style="display:block; margin:0px auto; font-family:Tahoma, Geneva, sans-serif; color:#000000; font-size:15px;" border="0"></td>
                          </tr>
                          <tr>
                            <td style="padding-top:20px;"><p style="margin:0px; padding:0px; color:#000000; font-size:15px; font-family:Tahoma, Geneva, sans-serif; mso-line-height-rule:exactly; line-height:23px; text-align:center; font-weight:bold;"><a href="#toreplace" target="_blank" style="color:#000000; text-decoration:underline;">S'ABONNER AU MAGAZINE</a></p></td>
                          </tr>
                        </table></td>
                    </tr>
                  </table></td>
              </tr>
            </table></td>
        </tr>
        <tr>
          <td style="padding-top:40px;"><p style="margin:0px; padding:0px; text-align:justify; font-family:Tahoma, Geneva, sans-serif; font-size:10px; mso-line-height-rule:exactly; line-height:18px; color:#FFFFFF;"><a href="#toreplace" target="_blank" style="color:#FFFFFF; text-decoration:underline;">TERMES ET CONDITIONS</a> | <a href="#toreplace" target="_blank" style="color:#FFFFFF; text-decoration:underline;">POLITIQUE DE CONFIDENTIALIT&Eacute;</a> | <a href="#toreplace" target="_blank" style="color:#FFFFFF; text-decoration:underline;">LES COOKIES</a> | <a href="#toreplace" target="_blank" style="color:#FFFFFF; text-decoration:underline;">GESTION DES COOKIES</a></p></td>
        </tr>
        <tr>
          <td style="padding:20px 0;"><p style="margin:0px; padding:0px; text-align:justify; font-family:Tahoma, Geneva, sans-serif; font-size:10px; mso-line-height-rule:exactly; line-height:18px; color:#999999;">Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi.</p></td>
        </tr>
      </table></td>
  </tr>
</table>
</body>
</html>

              
            
!

CSS

              
                
              
            
!

JS

              
                
              
            
!
999px

Console