File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes what is span and meta tags? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "what is span and meta tags?" Watch "what is span and meta tags?" New topic

what is span and meta tags?

william chaple
Ranch Hand

Joined: Mar 08, 2013
Posts: 135
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

Joined: Jan 10, 2002
Posts: 63844

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.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: what is span and meta tags?
jQuery in Action, 3rd edition