How do I apply a source to all the texts on my website?

0

I want to put a source that applies to the entire website, the same source.

    
asked by GERMAN SOSA 24.08.2018 в 20:51
source

2 answers

3

Since the <font> tag is obsolete in HTML 4.0 versions, you can use:

 <style type="text/css">

     body{
            font-family:"Nombre de Fuente";
            font-size: 20px;
        }

  </style>

To indicate that everything written within <body> has the properties defined.

Example:

body{
    font-family:verdana;
    font-size: 20px;
    color: blue;        
}
<html>
<body>

<h1>StackOverflow.com</h1>

<p>Stack Overflow en español es un sitio de preguntas y respuestas para programadores y entusiastas del desarrollo y uso de software. Lo construyes y lo administras tú como parte de la red de sitios de preguntas y respuestas de Stack Exchange. Con tu ayuda, trabajamos juntos para crear una biblioteca de respuestas detalladas para todas las preguntas sobre programación, desarrollo y uso de software..</p>

</body>
</html>
    
answered by 24.08.2018 в 20:59
0

you can specify it in the css in this way so you apply the source to the entire document

*{
    font-family: Arial;
}

Also like this, in this way you apply the source to the whole body that is the one that contains everything visual

body{
    font-family: Arial;
}
    
answered by 24.08.2018 в 20:53