Web Design/html


I've just finished building a site using dreamweaver while watching a 40 lesson tutorial online. I just noticed a code on the tutorial  which was never mentioned in any of the lessons. Please tell me if It  is a standard html code for the head section. if yes, do I need to add it on every page or just the index. This is the code;

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <meta http-equiv="Content-Type" content="cache" />

Thank you

Hi Mona

Neither are required but are standard html. The first one is recommended on each page as it determines the character set and stops the browser selecting one for you. The second tag just tells the browser what to do with regard to cacheing your page. Basically an offline copy of your site on the users machine.

More information on meta Cache: http://www.metatags.info/meta_http_equiv_cache_control

Just a note if you are using html 5 you can use the shorthand tag:

<meta charset="utf-8">



Web Design

All Answers

Answers by Expert:

Ask Experts


Daniel Ruffle


I can answer questions on most areas of web design & development - including: html5, css3, JavaScript, php, search engine optimisation, mobile web development & responsive design.


I have been in the web design & development sector for 10 years and have been running my own web design company for 10 years. Working with lots of completed projects within that time.

I have mostly been self taught which is the way I learn best. I have been on lots of training courses, read lots & lots of books. Within this sector though I find the best way to learn is to get stuck in.

©2017 About.com. All rights reserved.