Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Semantic Web
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Limitations of HTML === Many files on a typical computer can be loosely divided into either human-readable documents, or machine-readable data. Examples of human-readable document files are mail messages, reports, and brochures. Examples of machine-readable data files are calendars, address books, playlists, and spreadsheets, which are presented to a user using an application program that lets the files be viewed, searched, and combined. Currently, the World Wide Web is based mainly on documents written in [[Hypertext Markup Language]] (HTML), a markup convention that is used for coding a body of text interspersed with multimedia objects such as images and interactive forms. Metadata tags provide a method by which computers can categorize the content of web pages. In the examples below, the field names "keywords", "description" and "author" are assigned values such as "computing", and "cheap widgets for sale" and "John Doe". <syntaxhighlight lang="html"> <meta name="keywords" content="computing, computer studies, computer" /> <meta name="description" content="Cheap widgets for sale" /> <meta name="author" content="John Doe" /> </syntaxhighlight> Because of this metadata tagging and categorization, other computer systems that want to access and share this data can easily identify the relevant values. With HTML and a tool to render it (perhaps [[web browser]] software, perhaps another [[user agent]]), one can create and present a page that lists items for sale. The HTML of this catalog page can make simple, document-level assertions such as "this document's title is 'Widget Superstore{{'"}}, but there is no capability within the HTML itself to assert unambiguously that, for example, item number X586172 is an Acme Gizmo with a retail price of β¬199, or that it is a consumer product. Rather, HTML can only say that the span of text "X586172" is something that should be positioned near "Acme Gizmo" and "β¬199", etc. There is no way to say "this is a catalog" or even to establish that "Acme Gizmo" is a kind of title or that "β¬199" is a price. There is also no way to express that these pieces of information are bound together in describing a discrete item, distinct from other items perhaps listed on the page. [[Semantic HTML]] refers to the traditional HTML practice of markup following intention, rather than specifying layout details directly. For example, the use of {{tag|em|o}} denoting "emphasis" rather than {{tag|i|o}}, which specifies [[italics]]. Layout details are left up to the browser, in combination with [[Cascading Style Sheets]]. But this practice falls short of specifying the semantics of objects such as items for sale or prices. Microformats extend HTML syntax to create [[Machine-readable data|machine-readable]] semantic markup about objects including people, organizations, events and products.<ref>{{cite book |last=Allsopp |first=John |title=Microformats: Empowering Your Markup for Web 2.0 |date=March 2007 |publisher=[[Apress|Friends of ED]] |isbn=978-1-59059-814-6 |page=[https://archive.org/details/isbn_9781590598146/page/368 368] |url-access=registration |url=https://archive.org/details/isbn_9781590598146/page/368 }}</ref> Similar initiatives include [[RDFa]], [[Microdata (HTML)|Microdata]] and [[Schema.org]].
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Semantic Web
(section)
Add topic