first-line - Primera linea
Font-size - Tamaño de la fuente
text-transform - Cambiamos a mayusculas uppercase o minusculas lowercase
font-weight - Grosor de la fuente
CODIGO
/* Codigo ofrecido por Tutores.org */
<style>
.myparagraph2:first-line{
font-size:110%;
text-transform:uppercase;
font-weight:bold;
}
</style>
<p class="myparagraph2">Si lo que queremos es resaltar la primera linea de unas noticias o simplemente de un texto utilizaremos este script. Este y otros podras encontrarlos en tutores.org.<p>
ENLACE AL CODIGO
Si quieres enlazar desde tu pagina a este codigo
<!-- Inicio enlace Tutores.org -->
<a title="Tutores.org - Resaltando primera linea de un texto" href="http://www.tutores.org/codigo/395/" target="_blank">Resaltando primera linea de un texto</a>
<!-- Final enlace Tutores.org -->