Tags são rótulos usados para informar ao navegador como deve ser apresentado o website.

Todas as tags têm o mesmo formato: começam com um sinal de menor “<” e acabam com um sinal de maior “>”.

Genericamente falando, existem dois tipos de tags – tags de abertura: <comando> e tags de fechamento: </comando>. A diferença entre elas é que na tag de fechamento existe um barra “/”.

Tudo que estiver contido entre uma tag de abertura e uma tag de fechamento será processado segundo o comando contido na tag.

Mas, como toda regra tem sua exceção, aqui no HTML a exceção é que para algumas tags a abertura e o fechamento se dá na mesma tag. Tais tags contém comandos que não necessitam de um conteúdo para serem processados, isto é, são tags de comandos isolados, por exemplo, um pulo de linha é conseguido com a tag <br />.

HTML é tag – e nada mais do que tags. Aprender HTML é aprender como usar as diferentes tags.

Você pode mostrar alguns exemplos?

OK, a tag <b> informa ao navegador que todo o texto colocado entre <b> e </b> deve ser mostrado em negrito. (O comando “b” é uma abreviação para “bold” – negrito.)

Exemplo 1:

	<b>Este texto deve ser em negrito.</b>

Vai ser apresentado no navegador, como mostrado a seguir:

Este texto deve ser em negrito.

As tags <h1>, <h2>, <h3>, <h4>, <h5> e <h6> informam ao navegador que trata-se de um cabeçalho (h vem de “heading” – cabeçalho ), sendo <h1> o cabeçalho de primeiro nível e aquele apresentado com o maior tamanho de texto, <h2> o cabeçalho de segundo nível e aquele apresentado com tamanho de texto um pouco menor e <h6> o cabeçalho de sexto nível e aquele apresentado com o menor tamanho de texto.

Exemplo 2:

	<h1>Este é um título</h1>
	<h2>Este é um sub título</h2>

Vai ser apresentado no navegador, como mostrado a seguir:

Este é um título

Este é um subtítulo

As tags devem ser escritas com letras maiúsculas ou minúsculas?

Para a maioria dos navegadores é indiferente se você usa maiúscula, minúscula ou mesmo uma mistura delas.<COMANDO>, <comando> ou <CoMaNdo> normalmente tem o mesmo efeito. Contudo a maneira correta é usar minúsculas. Então, crie o hábito de escrever suas tags com minúsculas.

Onde devo colocar todas estas tags?

Você deve escrever suas tags em um documento HTML. Um website é constituido por um ou mais documentos HTML. Quando você navega na Web, você está abrindo diferentes documentos HTML.

Esse artigo ajudou você?

38 respostas para “O que são tags HTML?”

  1. Crystal Feminized Cannabis Seeds

    You have made some really good points there. I looked on the web to find out more about the issue and found most individuals will go along with your views on this website.

  2. cute cheap lingerie

    Thanks , I have just been searching for info approximately this subject for ages and yours is the best I have came upon so far. But, what concerning the conclusion? Are you positive concerning the supply?

  3. christmas gifts for her

    Wow! This blog looks just like my old one! It’s on a totally different subject but it has pretty much the same layout and design. Outstanding choice of colors!

  4. 摩托車

    Great weblog here! Additionally your site a lot up fast! What web host are you using? Can I get your affiliate link in your host? I desire my site loaded up as quickly as yours lol

  5. free horror

    An outstanding share! I’ve just forwarded this onto a colleague who had been doing a little homework on this. And he in fact ordered me dinner because I discovered it for him… lol. So allow me to reword this…. Thanks for the meal!! But yeah, thanks for spending the time to discuss this issue here on your website.

  6. Allen Selestewa

    Having read this I thought it was rather enlightening. I appreciate you taking the time and energy to put trik menang slot this article together. I once again find myself spending way too much time both reading and leaving comments

  7. shoes

    You should be a part of a contest for one of the highest quality blogs on the web. I will recommend this web site!

  8. Kevin Byford

    It’s not that I want to duplicate your web-site, but I really like the pattern. Could you let me know which theme are you using? Or was it especially designed?

  9. Aptitude Tests

    Great article. I am dealing with a few of these issues as well..

  10. lipsticks

    Excellent site you have here.. It’s difficult to find excellent writing like yours these days. I really appreciate people like you! Take care!!

  11. Jenette Lichtenwalter

    Superb page! I personally had a new scanning. I hope to read simple things much from your business. It looks like you may have superb details and furthermore thought. My organization is quite shocked due to this critical information.

  12. Pretty Gaming

    An interesting discussion is definitely worth comment. I think that you ought to write more on this subject matter, it may not be a taboo subject but usually people do not speak about such issues. To the next! Best wishes.

  13. Delta 8 THC gummies

    Everything is very open with a clear description of the issues. It was definitely informative. Your site is useful. Many thanks for sharing.

  14. Margarett Meerdink

    This is the correct weblog for everyone who has to search for away relating to this topic. You observe a great deal its practically time consuming to be able to claim with you (not that I actually would want?HaHa). An individual favorably put a whole new spin on a subject thats been discussed for a long time. Great things, merely fantastic!

  15. Janett Valencia

    Thank you the help. I love sucking dick btw hmu

  16. Kina Clery

    Lots of people were enthusiastic sportsmen or enjoyed music and dancing. It’s possible you’ll remember that you were most joyful on the operating track. Even so, with increasing obligations you might have found almost no time to indulge in any of the interests. Are you affected by depression and want to get free from its abysmal depths without lifelong antidepresants? You could attempt and help yourself to overcome depression naturally.

  17. Eleanore Civil

    the dial is a rich glossy black lacquer over brass

  18. 슬롯

    Best view i have ever seen !

  19. Vernon Elkington

    used trucks are sometimes expensive and it is quite hard to find a good bargain if you don’t search heavily“

  20. NENGGE Mountain Bikes in vendita

    Hi! This is kind of off topic but I need some help from an established blog. Is it hard to set up your own blog? I’m not very techincal but I can figure things out pretty fast. I’m thinking about setting up my own but I’m not sure where to start. Do you have any tips or suggestions? Appreciate it

  21. DRAKE18 Folding Bikes for sale

    Hello my loved one! I wish to say that this post is awesome, nice written and include approximately all important infos. I would like to peer more posts like this .

  22. VitalFlow official website

    Good article. I am facing some of these issues as well..

  23. 마사지알바

    It’s a jealous article. It’s very incredible and fresh. Who are you to write this particular special article?

  24. Learn More Here

    I just want to tell you that I am new to blogs and definitely liked this website. Almost certainly I’m likely to bookmark your site . You actually have exceptional article content. Regards for sharing your web site.

  25. slots bonus

    Best view i have ever seen !

  26. Playset assembly service

    Have you ever considered creating an ebook or guest authoring on other blogs? I have a blog based upon on the same topics you discuss and would really like to have you share some stories/information. I know my visitors would value your work. If you are even remotely interested, feel free to shoot me an e-mail.

  27. porno

    Excellent post. I was checking continuously this blog and I am impressed! Very useful info specifically the final section 🙂 I care for such information much. I used to be looking for this particular info for a very long time. Thank you and good luck.

  28. White glove furniture delivery

    Thanks a lot for sharing this with all of us you really know what you’re talking about! Bookmarked. Please also visit my site =). We could have a link exchange contract between us!

  29. roadside assistance

    Hiya, I’m really glad I have found this info. Nowadays bloggers publish only about gossips and web and this is really annoying. A good site with interesting content, this is what I need. Thanks for keeping this site, I’ll be visiting it. Do you do newsletters? Can’t find it.

  30. description

    Yet another thing I would like to state is that in lieu of trying to suit all your online degree programs on days and nights that you finish off work (since the majority people are exhausted when they go back home), try to obtain most of your instructional classes on the saturdays and sundays and only 1 or 2 courses for weekdays, even if it means a little time off your saturday and sunday. This is really good because on the weekends, you will be extra rested in addition to concentrated upon school work. Thx for the different points I have acquired from your weblog.

  31. index

    I simply want to tell you that I am beginner to blogs and seriously loved you’re web-site. Likely I’m want to bookmark your blog post . You surely come with wonderful article content. Kudos for revealing your web site.

  32. fmovies

    I will immediately snatch your rss feed as I can not to find your email subscription hyperlink or newsletter service. Do you’ve any? Please allow me realize so that I may just subscribe. Thanks.

  33. right here

    Thanks for your useful post. Through the years, I have been able to understand that the actual symptoms of mesothelioma are caused by the actual build up associated fluid between lining in the lung and the upper body cavity. The disease may start inside the chest place and multiply to other areas of the body. Other symptoms of pleural mesothelioma include weight-loss, severe inhaling trouble, a fever, difficulty swallowing, and swelling of the neck and face areas. It ought to be noted that some people living with the disease usually do not experience almost any serious indicators at all.

  34. go now

    A powerful share, I just given this onto a colleague who was doing somewhat evaluation on this. And he in truth purchased me breakfast as a result of I found it for him.. smile. So let me reword that: Thnx for the deal with! But yeah Thnkx for spending the time to discuss this, I really feel strongly about it and love studying extra on this topic. If possible, as you develop into expertise, would you thoughts updating your blog with extra particulars? It’s extremely helpful for me. Massive thumb up for this blog post!

  35. Mandie Walvoord

    I simply want to tell you that I am just newbie to blogging and site-building and actually loved this blog site. Very likely I’m going to bookmark your website . You definitely come with impressive posts. Thanks for sharing with us your website page.


Comente sobre este conteúdo! Escreva o que pensa, complemente, vamos discutir. O conhecimento é livre!