cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External CSS

These stylesheets will be added in this order and before the code you write in the CSS editor. You can also add another Pen here, and it will pull the CSS from it. Try typing "font" or "ribbon" below.

Quick-add: + add another resource

Add External JavaScript

These scripts will run in this order and before the code in the JavaScript editor. You can also link to another Pen here, and it will run the JavaScript from it. Also try typing the name of any popular library.

Quick-add: + add another resource

Code Indentation

     

Save Automatically?

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.

            
              <table width="600" style="border-collapse:collapse; margin: auto;">
	<!-- begin header -->
	<tr bgcolor="#aaa">
		<td width="200">
			<a href="#"><img src="http://via.placeholder.com/200x50?text=Logo Image" alt="logo image" style="display:block;"></a>
		</td>
		<td width="400">
			<table align="right">
				<tr>
					<td>
						<a href="#">Home</a> 
						<a href="#">About</a> 
						<a href="#">Contact</a>
					</td>
					<td width="15"></td>
					<td>
						<a href="#"><img src="http://via.placeholder.com/30x30?text=icon" alt="social media icon"></a> 
						<a href="#"><img src="http://via.placeholder.com/30x30?text=icon" alt="social media icon"></a> 
						<a href="#"><img src="http://via.placeholder.com/30x30?text=icon" alt="social media icon"></a>
					</td>
				</tr>
			</table>
		</td>
	</tr>
	<!-- end header -->
	
	
	<!-- begin hero -->
	<tr>
		<td colspan="2">
			<img src="http://via.placeholder.com/600x250?text=Hero Graphic" alt="hero image" style="display: block;">
		</td>
	</tr>
	<!-- end hero -->
	
	
	<!-- begin main-content -->
	<tr>
		<td valign="top" bgcolor="#e1e1e1">
			<ul style="list-style:none; margin:0; padding:20px;">
				<li><a href="#">Sidebar Nav Item</a></li>
				<li><a href="#">Sidebar Nav Item</a></li>
				<li><a href="#">Sidebar Nav Item</a></li>
				<li><a href="#">Sidebar Nav Item</a></li>
			</ul>
		</td>
		<td bgcolor="#eee">
			<table cellpadding="20" width="300">
				<tr>
					<td colspan="2">
						<h1>Primary Headline Here</h1>
						<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Quasi adipisci veritatis quidem iusto eveniet possimus deleniti excepturi laborum, sint dolore tempore, perferendis aliquam. Earum officiis laboriosam, culpa veniam eius provident!</p>
					</td>
				</tr>
				<tr>
					<td>
						<a href="#"><img src="http://via.placeholder.com/150x100?text=Featured Image" alt="hero image" style="display: block;"></a>
						<p><a href="#">Featured Article Title</a></p>
					</td>
					<td>
						<a href="#"><img src="http://via.placeholder.com/150x100?text=Featured Image" alt="hero image" style="display: block;"></a>
						<p><a href="#">Featured Article Title</a></p>
					</td>
				</tr>
			</table>
		</td>
	</tr>
	<!-- end main content -->
	
	
	<!-- begin subfooter -->
	<tr height="75" bgcolor="#ccc">
		<td colspan="2" align="center">
			<button>Call To Action Button</button>
		</td>
	</tr>
	<!-- end subfooter -->
	
	
	<!-- begin footer -->
	<tr bgcolor="#aaa">
		<td colspan="2">
			<table>
				<tr>
					<td width="300">
						<p>Some copyright text would go here.</p>
					</td>
					<td width="300" align="right">
						<a href="#">Home</a> 
						<a href="#">About</a> 
						<a href="#">Contact</a>
					</td>
				</tr>
			</table>
		</td>
	</tr>
	<!-- end footer -->
	
</table>
            
          
!
            
              /* super duper simple styling */
body { 
	color: #555; 
}

a {
	color: #06c;
	text-decoration: none;
}
            
          
!
999px
Loading ..................

Console