Jump to content
alex9099

Tags opcionais

Recommended Posts

alex9099

As tags (se assim se chamao) : <html></html> <head></head> <body></body> nao são "obrigatorias" caso nao se use o head?


<head>

<title>Olá</tile>

<head>

<body>

Sou o alex9099 e programo em php, html, javascript, css

</body>

Share this post


Link to post
Share on other sites
alex9099

qual e a diferenca caso nao se use a head?? a pagina parece visualmente ser igual


<head>

<title>Olá</tile>

<head>

<body>

Sou o alex9099 e programo em php, html, javascript, css

</body>

Share this post


Link to post
Share on other sites
I-NOZex

quao dificil é perceberes que TODAS AS PAGINAS HTML TEEM DE TER HTML, HEAD e BODY?

Sim no browser (na maioria) aparece igual, mas tenta passar o site aqui e ve o que acontece...

http://validator.w3.org/

Edited by I-NOZex

B2R » Beat2Revolution v3.0b | Regista e divulga-nos

beat2revolution.net

Share this post


Link to post
Share on other sites
alex9099

DESCULPA SE NA PERCEBI MAS SE PERGUNTEI E PORQUE NAO SABIA !


<head>

<title>Olá</tile>

<head>

<body>

Sou o alex9099 e programo em php, html, javascript, css

</body>

Share this post


Link to post
Share on other sites
I-NOZex

nao, apenas é engraçado o facto da tua assinatura ser assim:

<head>

<title>Olá</tile>

<head>

<body>

Sou o alex9099 e programo em php, html, javascript, css

</body>

acho que isso tudo fica em causa, nao leves a mal :thumbsup:

Edited by I-NOZex

B2R » Beat2Revolution v3.0b | Regista e divulga-nos

beat2revolution.net

Share this post


Link to post
Share on other sites
thoga31

Boys, vamos acalmar, sim?

A informação a reter é que aquelas tags são obrigatórias em qualquer documento.

  • Vote 1

Knowledge is free!

Share this post


Link to post
Share on other sites
fil79

Tudo tem a ver com boas praticas. Se escreveres qualquer coisa no notepad, gravares com a extensão htm e visualizares no browser tudo aparece correctamente. O que não quer dizer que esteja bem feito.....


MCITP-MCTS-MCP

Share this post


Link to post
Share on other sites
alex9099

Ok obrigado ja entendi


<head>

<title>Olá</tile>

<head>

<body>

Sou o alex9099 e programo em php, html, javascript, css

</body>

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. 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.