Sunday, August 2, 2009

CONFUSED beginner in HTML help me plz?

Disclaimer:-


DO NOT give me a link and say read up on it. I have a book already, I just need you ppl to answer my SPECIFIC questions plz.





META Elements


Confused in filling in the syntax:-





%26lt;Meta name="text" content="text" scheme="text" http-equiv="text" /%26gt;





a)Name of what?? My name?? The document name?


b)Content, like what color the webpage is??


c)Scheme, like how wide the webpage is??


d)Http-equiv, what the url of my website??





PLEASE HELP

CONFUSED beginner in HTML help me plz?
a) name: applies to author, description (short summary of the content of the page), keywords (the words people will type in to a search engine), generator (the program you used to write your pages), copyright, robots(to determine whether web crawler to index your page) etc.





b) content: the content to type of name, scheme and http-equiv that you have declared earlier.





Example of use:-





%26lt;meta name="author" content="Patrick T"%26gt;


%26lt;meta name="generator" content="Adobe Dreamweaver CS3"%26gt;


%26lt;meta name="descriptions" content="Mine's the Best Answer!"%26gt;


%26lt;meta name="keywords" content="Answers, good, best"%26gt;





c) Scheme can be used when name is used to specify how the value of content should be interpreted. eg. ISBN, date-month-year etc.





Example of use:





%26lt;meta scheme=isbn content="1-351-8947-2"%26gt;





d) http-equiv is used to define additional information to be sent to the browser in the http header. This gives the web site creator additional control over this data.





Example: content-language(defines the language of the page), expires (expiration date of the document), refresh (the interval before the page refresh itself)
Reply:Maybe this will help you, this is from my home page.





%26lt;META name="description" content="My Way is a web portal and search engine like Yahoo!, but without any banners, pop-ups or spam. No ads means more room for our terrific personalized features like weather, news, sports, finance, entertainment and more. And the My Way search engine is powered by Google, so it's incredibly accurate. Make My Way your way to search the Web!"%26gt;


%26lt;META name="keywords" content="My Way, search, search engine, portal, free, personalization, customization, personals, photo personals, travel, real estate, email, sports, yellow pages, white pages, mortgage, toolbar, bookmarks, boards, maps, games, business news, weather, film, reviews, stocks, quotes, portfolio, charts, company news, autos, polls, careers, job market, help wanted, computers, technology, classifieds, celebrity photos, celebritites, celebs, casino, love, advice, tips, cartoons, fashion, home, garden, music, radio, messenger, food, recipes, greeting cards"%26gt;
Reply:Since the other person had already gave you a sample of what to fill up.





The next thing you should know about Meta Elements is that it allows search engine like Yahoo to pick up key words from your web pages so that any browser that searches for item can locate your web site from these keywords.
Reply:Meta tags are used to provide data to search engines (and sometimes validators and other tools) but they aren't absolutely necessary in any page.





The meta tag is used for many different things. The name attribute describes the type of meta tag this is, and the content is the value. For example:


%26lt;meta name = "description" content = "a page about my wiener dog" /%26gt;


provides information to search engines about the contents of your site





Another variation might list keyword suggestions:


%26lt;meta name = "keywords" content = "dog, wiener dog, daschound" /%26gt;





A special form of meta is used to tell search engines how to treat your site:


%26lt;meta name = "robots" content = "index, nofollow" /%26gt;


This will request that search engine robots add your page to the index, but not follow the links on the page.





None of these tricks is guaranteed to have any effect whatever, as they have been widely misused, and the search engines all use their own techniques for determining how pages will be sorted. Most search engines today rely far more on the content of the page than the meta tags to determine how a page will be listed.





The one meta tag I regularly use is this one:


%26lt;meta http-equiv="content-type" content="text/xml; charset=utf-8" /%26gt;





This tag informs the browser that I will be using xml markup with the (very common) utf-8 character set. This line is not required for ordinary HTML, but it is required if you want your page to validate to XHTML strict standards. (It's a good idea, and not difficult to do.)





If you're a beginner, you can safely ignore most of the meta tags, They really aren't important until you are worried about search engine optimisation, and I'm not convinced of their utility there. The http-equiv version should be in the standard template you use for building your standards-compliant pages.





I might humbly suggest you have the wrong book. Watch for mine coming out this spring.





Good luck!

flash cards

No comments:

Post a Comment