An official website of the United States government
Here’s how you know
Official websites use .gov A
.gov website belongs to an official government
organization in the United States.
Secure .gov websites use HTTPS A
lock (
) or https:// means you’ve safely connected to
the .gov website. Share sensitive information only on official,
secure websites.
Special Publication:
Public Website Visual Style Guide
August 2015
Media and Images
Use the approved dimensions and file sizes below to apply media and images to the website. As a general rule, all images should be a minimum of 3600 pixels wide at 72 dpi.
HTML Tags, Styled
Audio <audio>
Output
Code
<audio controls>
<source src="media/audio/sample_audio_mp3.mp3" type="audio/mpeg">
<source src="media/audio/sample_audio_ogg.ogg" type="audio/ogg">
Your browser does not support the audio element.
</audio>
MCC uses a third-party video hosting service which embeds its player code using either JavaScript or an iFrame.
Output
Code
<video controls poster="../media/video/sample_mpeg4_poster.png" height="225" width="300">
<source src="media/video/sample_mpeg4.mp4" type="video/mp4">
<source src="media/video/sample_ogg.ogg" type="video/ogg">
Your browser does not support the video tag.
</video>
Add to <figure> to have the image display aligned right and 50 percent of the width of its container.
.thumbnail
Gotham
Add to <figure> to have the image display aligned left and sized for a thumbnail headshot (about 20 percent of the width of its container).
Slideshows
All slideshows on mcc.gov include a thumbnail navigation at the top. Thumbnails are sized to 146 x 90 pixels. Slideshow images should be sized to 960 x 594 pixels (the golden mean's ratio) but will display as 940 x 582 pixels.
MCC uses the Flexslider slideshow framework to display its slideshows.
Output
Code
<div id="flex-slideshow-std">
<!-- thumbnail images for slideshow navigation -->
<div id="carousel" class="flexslider">
<ul class="slides">
<!-- copy/paste this snippet of code for each slide in the slideshow -->
<li class="slide">
<img src="https://assets.mcc.gov/content/uploads/2017/05/photo-slide-032217-jor-jordan-woman-plumber-working.jpg" alt="" />
</li>
<!-- end code snippet to copy/paste -->
<li class="slide">
<img src="https://assets.mcc.gov/content/uploads/2017/05/photo-slide-032217-jor-as-samra-wastewater-plant.jpg" alt="" />
</li>
<li class="slide">
<img src="https://assets.mcc.gov/content/uploads/2017/02/photo-111616-zmb-water-access.jpg" alt="" />
</li>
</ul>
</div>
<!-- end thumbnail images for slideshow navigation -->
<!-- actual slideshow images -->
<div id="slider" class="flexslider">
<ul class="slides">
<!-- copy/paste this snippet of code for each slide in the slideshow -->
<li class="slide">
<figure>
<img src="https://assets.mcc.gov/content/uploads/2017/05/photo-slide-032217-jor-jordan-woman-plumber-working.jpg" alt="" />
<figcaption>
<p class="credit">MCC</p>
<div>
<p class="caption">Ra’eda, one of 30 women trained as plumbers as part of MCC’s Jordan Compact, fixes a client’s faucet in the city of Zarqa. Ra’eda and her colleagues are challenging attitudes about women’s roles and professions in Jordan—one of the most water-poor countries on Earth that also has one of the lowest women’s labor force participation rates in the world.</p>
</div>
</figcaption>
</figure>
</li>
<!-- end code snippet to copy/paste -->
<li class="slide">
<figure>
<img src="https://assets.mcc.gov/content/uploads/2017/05/photo-slide-032217-jor-as-samra-wastewater-plant.jpg" alt="" />
<figcaption>
<p class="credit">MCC</p>
<div>
<p class="caption">As part of its Jordan Compact, MCC funded a critical expansion of the As-Samra Wastewater Treatment Plant that is producing much-needed treated water for farm irrigation in the Jordan Valley and freeing up fresh water for household use.</p>
</div>
</figcaption>
</figure>
</li>
<li class="slide">
<figure>
<img src="https://assets.mcc.gov/content/uploads/2017/02/photo-111616-zmb-water-access.jpg" alt="" />
<figcaption>
<p class="credit">MCC</p>
<div>
<p class="caption">A boy rolls a barrel toward a water source in Lusaka, Zambia. As part of MCC’s investment in the country, the Zambian Government is working to reform the water sector and improve drainage in the capital city of Lusaka to better meet citizens’ water and sanitation needs. The vital water sector improvements aim to decrease the risk of water-related disease, time spent collecting water, the cost of water, and business and household losses due to flooding.</p>
</div>
</figcaption>
</figure>
</li>
</ul>
</div>
</div>