+ Reply to Thread
Results 1 to 1 of 1
  1. [TUTORIAL HTML]Elemente principale ale unei pagini de web ;Importanta aranjarii lor

    #1
    Banned DarkRed's Avatar
    Member since
    Dec 2013
    Location
    Pitesti
    Posts
    728
    Last username
    Justice01 TITAN Tetrahidrocanabinol
    Mentioned
    0 Post(s)
    Achievements Total Posts 2 Total Posts 1 Days Since Last Visited 2 Days Since Last Visited 1 Days Registered 3 Days Registered 2 Days Registered 1 Threads 2

    [TUTORIAL HTML]Elemente principale ale unei pagini de web ;Importanta aranjarii lor

    Sa mai aruncam o privire asupra codului. O pagina web are in componenta doua elemente de baza. Daca vei incerca sa creezi o pagina fara cele doua tag-uri, vei avea probleme.

    HTML Code:
    You have to register to be able to see this link. Register HERE! If you are already a member please log in! If you still you are not able to see the link you need to activate your account or an administrator need to activate your account!
    Ordinea tag-urilor - Foarte important
    Ordinea deschiderii si a inchiderii tag-urilor este foarte importanta. Daca un tag este deschis intr-un altul, de exemplu body este deschis in html atunci acel tag (body) este cel care trebuie inchis inaintea celui de-al doilea tag (html).

    Am inchis mai intai body pentru ca a fost cel care s-a deschis cel mai recent. Aceasta regula si anume deschiderea si inchiderea tag-urilor se aplica la toate celelalte taguri ale documentelor HTML.
    Scurt exemplu :
    HTML Code:
    You have to register to be able to see this link. Register HERE! If you are already a member please log in! If you still you are not able to see the link you need to activate your account or an administrator need to activate your account!
    Inchiderea tag-urilor in HTML
    Poate ai observat deja inca doua tag-uri asemanatoare la sfarsitul documentului, </body> si </html>. Acestea sunt tag-urile de inchidere. </body>, da de stire browser-ului, ca sa incheiat continulul pagini, iar </html> ca s-a incheiat documentul HTML.

    Slash "/" este pus innaintea numelui tag-ului si spune browserului ca ar dori sa incheie respectiva functie. Deci <tag> este folosit pentru a incepe o functie, iar </tag> pentru a o incheia.


    Last edited by DarkRed; 17-01-2016 at 02:14 PM. Reason: Adaugare Inchiderea tag-urilor

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Partners
Humble Monthly Bundle
Voucher PC-Garage