It is notable that many people need to make their text as professional as possible, and justifying the texts and objects that make up the page are essential for professionalism to be followed. With that in mind, here at DevSchool you will find a tutorial showing how to justify text on a web page or specific application that uses reading HTML. With that in mind, I decided to write this quick post to help you.
To justify your text and classify it whenever you want, just insert the following parameter in your HTML file:
.justificado {text-align: justify;text-justify: inter-word;}
If you prefer, you can create a file in .CSS and save it to your dedicated instance (recommended). In sequence, you must insert in your HTML file created right at the beginning (metadata):
<link rel=”stylesheet” href=”ENDEREÇO URL”>
After entering the commands in .CSS, you must “call” the global command where you want to use and justify the text as desired. See the example:
<div class="”justificado”">The text here will be automatically justified. But you need to call it using the variable “class” with an equal sign and the name in sequence, in quotes.</div>
Oh! Remember: when creating the external file, insert the parameter to be used.