Jump to content
  • Advertisement
Sign in to follow this  
johnnyBravo

[web] What are all these meta and link tags in the html?

This topic is 4834 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, I'm looking at a webpage's source so I can copy its layout, and I noticed that the page contains a bunch of meta and link tags inside the head tags. What are these meta and link tags used for? eg.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
	<head>
		<title>Human Resources</title>
		
		<!-- Start generic metadata -->
		<meta http-equiv="content-type" content="text/html; charset=iso-8859-15" />
		<meta name="Keywords" content="Macquarie, University, Australia, staff, teaching, learning, innovation, education, research" />
		<meta name="description" content="Macquarie University in Sydney, Australia" />
		<meta name="Author" content="Internet Information Projects and Services" />
		<!-- end generic -->
		
		<!-- start Dublin Core Metadata -->
		<meta name="DC.Title" content="Macquarie University Home Page" />
		<meta name="DC.Creator" content="Internet Information Projects and Services" />
		<meta name="DC.Subject" content="Education, University, Sydney, Australia" />
		<meta name="DC.Description" content="Information about Macquarie University" />
		<meta name="DC.Publisher" content="Macquarie University" />
		<meta name="DC.Date" scheme="ISO8601" content="2002-05-22" />
		<meta name="DC.Identifier" scheme="URL" content="http://www.mq.edu.au/mqtemplates/" />
		<meta name="DC.Language" scheme="RFC1766" content="en" />
		<meta name="DC.Format" scheme="IMT" content="text/html" />
		<meta name="DC.Rights" content="http://www.copyright.mq.edu.au/" />
		<!-- end dublin core -->
		
		<!-- start links -->
		<link rel="SHORTCUT ICON" href="http://www.mq.edu.au/media/global/MQ.ico" />
		<link rel="start" title="Home page" href="http://www.mq.edu.au/" />
		<link rel="help" title="Access features of this site" href="http://www.mq.edu.au/accessibility.html" />
		<link rel="stylesheet" type="text/css" href="css/low.css" />
		<link rel="stylesheet" type="text/css" href="css/print.css" media="print" />
		<!-- end links -->

		<script src="js/functions_l2.js" type="text/javascript">//<![CDATA[//]]></script>
		<style type="text/css" media="screen">
			@import url("css/import.css");
			@import url("css/departments.css");
		</style>
	</head>

Thanks

Share this post


Link to post
Share on other sites
Advertisement
The link tag "links" your document to others (for example, you can load an external CSS stylesheet using the relationship "stylesheet") where the href points to the external file.
Meta tags store meta information, a bit like the artist/album info stored in the ID3 tags on an MP3 file. These can be used by, for example, search engines.
w3schools has more info on the link tag and the meta tag.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!