Jump to content
Sign in to follow this  
Tzunyo

Elemente de baza in html – "headings" si "paragraphs"

Recommended Posts

Salut! In acest tutorial html iti voi vorbi despre doua elemente de baza din structura unui document HTML.
Heading-ul ( titlul) se materializeaza prin tagul h1,h2...h6

<!DOCTYPE html>
<head><title>Untitled Document</title></head>
<body>
  <h1>Heading1</h1>
</body>
</html>

 
Valoarea headingului poate varia de la 1 la 6 in functie de marimea titlului.
Deschide un document in dreamweaver, notepad sau orice alt editor html pe care il folosesti si testeaza acest tag.
 

<!DOCTYPE html>
<head><title>Untitled Document</title></head>
<body><h1>Heading1</h1>
  <h2>Heading2</h2>
  <h3>Heading3</h3>
  <h4>Heading4</h4>
  <h5>Heading5</h5>
  <h6>Heading6</h6>
</body></html>

 
Headingul are o mare importanta, mai ales in ceea ce priveste SEO. Foloseste h1-h6 proportional cu importanta titlului pe care vrei sa il aduci la cunostinta vizitatorului.
Daca vrei sa incepi un nou paragraf utilizeaza tagul <p>continut paragraf</p>

<!DOCTYPE html>
<head><title>Untitled Document</title></head>
<body><h1>Heading1</h1>
<h2>Heading2</h2>
<p>The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from "de Finibus Bonorum et Malorum" by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.</p>
</body>
</html>

© 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...