¿Cómo agregar bordes al texto en html?
Se ve así:lt;!doctype?htmlgt;
lt;html?lang="en"gt;
lt;headgt; p>
lt;meta?titlegt;Documentlt;/titlegt;
lt;style?type="text/css"gt;
#content?{ p >
border: ?solid?#f00; /*Establece el estilo y el color del borde*
margin: ?0?auto /*Establece el div para que esté centrado*/
ancho: ?200px; /*Establecer ancho de div*/
alto: ?200px; /*Establecer alto de div*/
ancho de borde: ?5px; *Establecer ancho del borde */
background:?#ff0 /*Establecer color de fondo*/
}
lt;/stylegt;
lt ;/headgt;
lt;bodygt;
lt;div?id="content"gt;Es un buen díalt;/divgt )
lt; /bodygt;
lt;/htmlgt;
Efecto: