Displayed Cover

From DPWiki
Jump to: navigation, search
DP Official Documentation - Post-Processing and Post-Processing Verification

Code

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
  <title>Displayed Cover Image Example</title>
  <link rel="coverpage" href="images/cover.jpg" />

  <style type="text/css">
<!--
.image-center
{
  text-align: center;
  margin: 2em auto;
}

#coverpage
{
  border: 1px solid black;
}
-->
  </style>
</head>

<body>

<div class="image-center">
  <img id="coverpage" src="images/cover.jpg" alt="Book cover"/>
</div>

</body>

</html>

Screenshot

Displayed cover in HTML


To comment or request edits to this page, please contact lhamilton.

Return to DP Official Documentation Menu