Adding Code128C barcode font to a HTML file



<!DOCTYPE html>

<html lang="en">
<head>

<meta charset="utf-8" />
<title>Web Barcode - Code 128C</title>

<script src="barcode.js"></script>
<script src="code128c.js"></script>
<script src="app-code128c.js"></script>

<style type="text/css" media="screen,print">
@font-face {
  font-family: WebCode128;
  src: url("WebCode128H3.eot");
  src: url("WebCode128H3.otf") format("opentype"), url("WebCode128H3.woff") format("woff");
}

div.barcodeVal {
  font-weight: normal;
  font-style: normal;
  line-height: normal;
  font-family: 'WebCode128', sans-serif;
  font-size: 32px;
}

/* required */
div.barcodeVal {
  white-space: pre;
}
</style>

</head>
<body>

<h2>Web Barcode - Code 128C</h2>
<center>

<div class="barcodeVal">1234567890</div>
<div class="humanReadable"></div>

</center>

</body>

</html>