I'm trying to do with HTML and CSS, a code that allows me to read a txt file, extract the text that is stored there, and then put it on the web page with a font, and I can not. I'm not an advanced programmer, I'm just the base.
<style type="text/css">
@font-face {
font-family: "Montserrat";
src: url(https://fonts.googleapis.com/css?family=Montserrat:400,700) format("truetype");
}
p.montserrat {
font-family: "Montserrat", Verdana, Tahoma;
}
</style>
<div class="montserrat" style="overflow: hidden; float: left;">
<object type="text/plain" data="sub.txt" width="400" height="300"></object>
</div>