Jump to content
Sign in to follow this  
Tzunyo

Elemente de baza in html - Formatare text

Recommended Posts

Astazi iti voi vorbi despre tagurile de formatare.
Pe parcurs ce vei construi pagina ta web vei dori sa formatezi textul in functie de necesitati si dorinte.
Asadar iti voi arata cateva taguri de baza folosite in formatare.
Deschide un text editor (notepad,etc) si scrie acest cod:
 

<html>
  <head><title>text formatat</title></head>
  <body>
    <p><b>Acest text este ingrosat</b></p>
    <p><i>Acest text este italic</i></p>
    <p><small>Acest text este mic</small></p>
    <p>Acesta este<sub> subscriptul</sub> si<sup>superscriptul</sup></p>
  </body>
</html>

 
 
 
apoi salveaza fisierul cu numele text_formatat.html, dupa care deschide-l pentru a vedea efectele.
O serie de taguri cum ar fi <big>, <u> au fost scoase din uz odata cu aparitia HTML 5.
© Tzunyo

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...