Jump to content

Ce Inseamna Si Ce Face Doctype ?


Recommended Posts

In momentul in care intrati pe o pagina web, browser-ul citeste pagina, iar primul lucru pe care il face este sa caute DOCTYPE-ul sau elementul care ajuta la redarea corecta a siteului. Asadar DOCTYPE este un document care ofera browser-ului informatia necesara pentru a afisa pagina corect.


Iata mai jos tipurile de DOCTYPE:

HTML 4.01 Transitional

<!DOCTYPE  HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
"http://www.w3.org/TR/html4/loose.dtd">[/code] [b]HTML 4.01 Strict[/b]
HTML 4.01 Frameset
<!DOCTYPE  HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" 
"http://www.w3.org/TR/html4/frameset.dtd">[/code] [b]XHTML 1.0 Strict[/b]
[code]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
XHTML 1.0 Transitional
<!DOCTYPE  html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">[/code] [b]XHTML 1.0 Frameset[/b]
[code]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
<!DOCTYPE  html PUBLIC "-//W3C//DTD XHTML 1.1//EN" 

Te-ai inregistrat? Ne-ar placea sa te prezinti.

Cum pot sustine forumul?
Cumpara de la eMag folosind acest link.

Link to comment
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.

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.