These forums are currently read-only due to receiving more spam than actual discussion. Sorry.

It is currently Sat Dec 02, 2017 4:13 pm Advanced search

mata tag in HTML5

If you are stuck or have questions regarding HTML or other Web technologies, ask your questions here. No question too dumb!

mata tag in HTML5

Postby clanceyp » Sat Oct 13, 2012 6:59 pm

I have a metadata question. In one of our medical applications (currently HTML4 loose) we have metadata tags which contain data relevant to the content of the application e.g.
Code: Select all
<meta content="" name="REF.SNOMED-concept-ID">
<meta content="" name="REF.MeSH-unique-ID">
<meta content="" name="REF.release.number">

Where the prefix "REF" is an intern acronym/abbreviation for the web-application. I want to port this web app to HTML5, but the name attribute values are not valid in HTML5. How can I add application relevant metadata to my HTML5 web-apps, without using the <meta /> tag?

Thanks.
clanceyp
<h6>
 
Posts: 1
Joined: Sat Oct 13, 2012 5:56 pm

Re: mata tag in HTML5

Postby brandonair » Sat Oct 13, 2012 10:33 pm

Why are you not wanting to use meta tags in HTML5?
brandonair
<h6>
 
Posts: 1
Joined: Sat Oct 13, 2012 10:02 pm
Location: Canada

Re: mata tag in HTML5

Postby zcorpan » Mon Oct 15, 2012 8:12 am

If this is data that is only intended to be processed by the app itself, then you can use data-* attributes. You could do e.g. <html data-ref.snomed-concept-id="..." ...>

If this is data that is intended for other parties to consume, you could consider creating a microdata vocabulary.
zcorpan
<article>
 
Posts: 807
Joined: Tue Feb 06, 2007 8:29 pm
Location: Sweden


Return to Help & Advice

Who is online

Users browsing this forum: No registered users and 0 guests