Difference between revisions of "Figure and Figcaption Elements"

From Level Access Web Labs
Jump to navigation Jump to search
Line 1: Line 1:
 +
==Image figure and caption==
 
<html>
 
<html>
 
<div style="text-align:center;">
 
<div style="text-align:center;">
Line 7: Line 8:
 
</div>
 
</div>
 
</html>
 
</html>
 +
 +
==Non-image figure and caption==
 +
<figure>
 +
  <code>
 +
    window.alert('Email address is invalid'); 
 +
  </code>
 +
  <figcaption>JavaScript Alert dialog code</figcaption>
 +
</figure>
 
[[Category:Elements]]
 
[[Category:Elements]]

Revision as of 15:05, 27 March 2014

Image figure and caption

Brick 3 level office building with the SSB logo and the address 1493 Chain Bridge Rd. Ste. 100 displayed
The SSB McLean, VA Office Building

Non-image figure and caption

<figure>

 
   window.alert('Email address is invalid');   
 
 <figcaption>JavaScript Alert dialog code</figcaption>

</figure>