Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

what is span and meta tags?

 
william chaple
Ranch Hand
Posts: 135
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys Thanks for your help. you guys teach me a lot of stuff and really appreciate it!

ANyhow, I was wondering what is <span> and <meta>
I tried googling it, but it does not make sense for me.

so a regular meta tag like




vs something like




and what exactly are span classes?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64971
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From Mozilla Developer Network:

The HTML <meta> Element represents any metadata information which cannot be represented using one of the other meta-related element (<base>, <link>, <script>, <style> or <title>).


in other words, a catch-all container for meta information.

Also from MDN:

The HTML <span> element is a generic inline container for phrasing content, which does not inherently represent anything. It can be used to group elements for styling purposes (using the class or id attributes), or because they share attribute values, such as lang. It should be used only when no other semantic element is appropriate. <span> is very much like a <div> element, but <div> is a block-level element whereas a <span> is an inline element.


in other words, a container for inline content.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic