Tutorial Element <p> & <h1> Text

Alex

Administrator
Dev
Messages
2,373
Points
707
Hola a todos,

Hoy veremos un elemento fácil en Html, escribir texto en su pagina web mediante el uso del <p> o <h1/2/3/4/5/6> para títulos.

Primeramente si escribimos
HTML:
<h1> Hello </h1>
Obtendremos el titulo de Hello en grande tamaño,
Esto puede ser ya, h2, h3, hasta h6 en función del tamaño de texto que queráis, ahora bien, si queréis hacerlo mas grande es totalmente possible añadiendo el elemento
Code:
 font-size
utilizando el elemento style pero en vez de utilizar el <h1> utilizaremos el <p>;
HTML:
<p style="font-size:30px"> Hello </p>
Eso seria para obtener un titulo de tamaño 30px.

podemos añadir el elemento color, que puede cambiar el color de un texto, ya sea por escrito on en hex;
HTML:
<p style="font-size:30px;color:blue"> Hello </p>
lo que nos daría Hello
también podemos utilizar el color Hex:
HTML:
<p style="font-size:30px;color:#0000FF"> Hello </p>
por lo cual saldría exactamente idéntico que antes.

Se pueden añadir muchos elementos en el style.

Los elementos serán:

HTML:
<p>Hello</p>
<h1>Hello</p>
<h2>Hello</h2>
....
<h6>Hello</h6>
<p style="font-size:30px">Hello</p>
<p style="color:blue">Hello</p>

Se pueden añadir mas elementos, como el position, que permite escribir un texto y ponerlo en donde lo queramos en la pagina
HTML:
position:absolute
position:relative
añadiéndole después utilizando el ; , el sitio izquierda o derecha , como
HTML:
 <p style="position:absolute;left:0px;font-size:30px;color:blue">

Hay que notar, que si queremos hacerlo en negrita o subrayado o bien italico podremos añadir el elemento:
HTML:
<u> Subrayado </u>
<i> italico</i>
<strong> Negrita </strong>
 

Tibia Server Lists

#1 FEATURED US Ultron OT 1,277 / 5,000 EXPStages PROTO8.6 ENGINEUltron OT RANK PTS6.7 -11% VOTES1 #2 FEATURED US Nefera 0 / 0 EXPx1 PROTO15.20 ENGINECrystal Server RANK PTS5.3 -50% VOTES0 #3 FEATURED BR RebornOT 1 / 1,000 EXPx999 PROTO15.20 ENGINECrystal RANK PTS4.4 +100% VOTES1 #4 FEATURED ES Deixis 0 / 0 EXPStages PROTO1098 ENGINETFS RANK PTS4.1 -85% VOTES1 #5 DE DBU Online 91 / 400 EXP11 PROTO8.6 ENGINETFS 1.0 RANK PTS6.0 -23% VOTES0 #6 BR Tibinha YurOts 33 / 150 EXPStages PROTO7.4 ENGINEYurOTS 1.5 RANK PTS5.7 +34% VOTES0 #7 US Wiki Ots 41 / 1,000 EXPx9999 PROTOcustom client ENGINETFS 1.4.2 RANK PTS5.6 -4% VOTES0 #8 MX Marlboro War 10 / 300 EXP999 PROTO8.6 ENGINETFS 0.3.7 RANK PTS5.4 -40% VOTES0 #9 CL ZHYRAVEX 6 / 500 EXPx5 PROTO10.98 ENGINETFS 1.4.2 RANK PTS5.2 +213% VOTES1 #10 US Halera 5 / 1,000 EXPStages PROTO10.98 ENGINETFS 1.4.2 RANK PTS5.1 +73% VOTES0 #11 ES JustRL FreeTC 1530 14 / 250 EXPx2 PROTO15.30 ENGINECrystal Server RANK PTS5.0 -26% VOTES0 #12 PL Lubelski 1 / 1,000 EXP200 PROTO7.6 ENGINELubelskiOTS 2.56.0 RANK PTS4.7 -3% VOTES0 #13 PL ReWar 0 / 2,000 EXPcustom PROTO8.6 ENGINEOther RANK PTS4.5 -98% VOTES0 #14 BR Rethoria OpenToday 7.4 Custom 4 / 0 EXPx10 PROTO10.98 ENGINEOther RANK PTS4.5 +100% VOTES0 #15 BR Exordion Legacy 0 / 2,000 EXPx2 PROTO7.72 ENGINEExordion RANK PTS4.4 -45% VOTES0 #16 US BerethaOnline 0 / 2,000 EXPStages PROTO15.0 ENGINETFS RANK PTS4.4 -99% VOTES0 #17 BR T2OT Celular e Navegador 20 / 2,000 EXP5x (stages, 0.8x at level 2000) PROTO15.32 ENGINECanary RANK PTS4.4 +100% VOTES1 #18 ES Farlia Global 2026 0 / 333 EXPx5 PROTO15.25 ENGINEFarliaServ 1.525 RANK PTS4.1 0% VOTES0 #19 SE MortalisOT Custom 0 / 500 EXP100x -1.2x PROTO10.98 ENGINEMortalisOT V1 RANK PTS4.1 0% VOTES0 #20 BR Turion Server 0 / 2,000 EXPx1 PROTO7.4 ENGINETurion 7.7 Project RANK PTS4.0 -100% VOTES0 #21 RU Oldavia | 8.60 0 / 0 EXPx9999 PROTO8.6 ENGINETFS 1.3 RANK PTS4.0 -100% VOTES0 #22 US MasterRunes 0 / 1,000 EXPx10 PROTO15.20 ENGINECanary 3.x RANK PTS4.0 +100% VOTES0 #23 ES tibiarl2.ddns.net 1 / 900 EXPx3 PROTO15.20 ENGINECanary 3.x RANK PTS3.8 +100% VOTES0 #24 US Rommania 0 / 3,000 EXPstages, x10 PROTO7.4 ENGINETFS 0.4 RANK PTS3.7 -57% VOTES0 #25 MX Maeli 1 / 150 EXPx10 PROTO10.98 ENGINETFS 1.4.2 RANK PTS3.7 -62% VOTES0 #26 ES DarkDragon EXPx10 PROTO8.6 ENGINECanary RANK PTS0.0 0% VOTES0
Top