The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> HTML Code Help - Where is my header section!
fatfreddy
post Nov 21 2014, 11:47 PM
Post #1





Group: Members
Posts: 1
Joined: 21-November 14
Member No.: 21,838



Hi,

I am a teacher and have made a website for our school so we did not have to spend money on paying for one!

The website is finished and we are happy with it. I feel the HTML code is a mess though - I think some of the code is redundant.

My question though is this - I need to verify the site and Google have asked me to Copy the meta tag below, and paste it into your site's home page. It should go in the <head> section, before the first <body> section.

My problem is I can't find where the header and body sections are!

Site is www.tamahere.school.nz and code is

[code] <div style="background-color:#024f3b;padding:20px">
<div dir="ltr">
<div style="display:block;text-align:left">
<div style="display:block;text-align:left"></div>
<div style="display:block;text-align:left"></div>
<div style="display:block;text-align:left">
<div></div>

</div>
</div>
<div dir="ltr">
<div style="text-align:center">
<div></div>
</div>
<div dir="ltr">
<div></div>
</div>
</div>
<div><span style="color:rgb(241,194,50);font-size:large">
<div></div>
&nbsp;</span><span style="color:rgb(241,194,50);font-size:large">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</span></div>
<div dir="ltr">
<table border="0" cellpadding="6" cellspacing="5" style="color:rgb(68,68,68);font-family:Montserrat,sans-serif;line-height:16.25px;border-collapse:collapse;border-color:rgb(136,136,136);border-width:1px">
<tbody>
<tr>
<td style="width:50%;height:262px;background-color:rgb(255,255,255)">
<div></div>
<div><b><a href="https://sites.google.com/a/tamahere.school.nz/tamahere-school/news/news---principal-s-blog">Principal's Blog</a></b></div>
<div><br>
</div>
<div><b><font color="#000000">Week 5 Term 2014</font></b></div>
<div><img src="https://www.google.com/chart?chc=sites&amp;cht=d&amp;chdp=sites&amp;chl=%5B%5BRecent+announcements'%3D20'f%5Cv'a%5C%3D0'10'%3D399'0'dim'%5Cbox1'b%5CF6F6F6'fC%5CF6F6F6'eC%5C0'sk'%5C%5B%22Principal@'s+Blog%22'%5D'a%5CV%5C%3D12'f%5C%5DV%5Cta%5C%3D10'%3D0'%3D400'%3D297'dim'%5C%3D10'%3D10'%3D400'%3D297'vdim'%5Cbox1'b%5Cva%5CF6F6F6'fC%5CC8C8C8'eC%5C'a%5C%5Do%5CLauto'f%5C&amp;sig=qQpE-JIHx6LJEMeI4HuhW-cN0fo" data-type="recent-announcements" data-props="align:left;borderTitle:Principal's Blog;num:3;postLength:FULL;showBorder:false;showBorderTitle:false;showThumbnail:
false;srcPage:600a707e8e1d7ef6;wrap:false;" width="400" height="300" style="display:block;text-align:left;margin-right:auto;"></div>
<hr>
<table border="0" bordercolor="#888" cellspacing="0" style="border-collapse:collapse;border-color:rgb(136,136,136);border-width:0px">
<tbody>
<tr>
<td style="width:178px;height:173px">&nbsp;<span>&nbsp; &nbsp;&nbsp;
<div style="display:inline;float:left;margin:5px 10px 0px 0px"><a href="https://sites.google.com/a/tamahere.school.nz/tamahere-school/our-learning/writer-s-corner" imageanchor="1"><img alt="Writer's Corner" border="0" src="https://sites.google.com/a/tamahere.school.nz/tamahere-school/home/writers%20corner.png"></a></div>
<span>&nbsp;</span></span><i><span style="font-size:10pt">&nbsp; &nbsp;</span><span style="font-size:10pt">&nbsp; &nbsp;&nbsp;</span></i></td>
<td style="width:238px;height:173px"><i>&nbsp;</i><span>
<p dir="ltr" style="line-height:1;margin-top:0pt;margin-bottom:0pt;text-align:justify"><span style="font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent"><i><font size="2">Today we are pleased to celebrate a piece of writing with you written by&nbsp;</font></i></span><i style="color:rgb(0,0,0);font-family:Arial;white-space:pre-wrap;line-height:1;font-size:10pt;background-color:transparent"><font size="2">Charlotte W, a Year 5 (10 year old) student at our school. </font></i></p>
<font size="2"><i><br>
<span style="font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">Click on this </span><a href="https://sites.google.com/a/tamahere.school.nz/tamahere-school/our-learning/writer-s-corner" style="text-decoration:none"><span style="font-family:Arial;color:rgb(0,0,0);text-decoration:underline;vertical-align:baseline;white-space:pre-wrap;background-color:transparent">link</span></a></i><span style="font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent"><i> to take you straight there. Congratulations on a wonderful piece of writing - well done!</i> </span></font></span></td>
</tr>
</tbody>
<tbody>
<tr>
<td>
</td>
</tr>
</tbody>
</table>
<hr>

<br>
</td>
<td style="width:16px;height:262px;background-color:rgb(2,79,59)"><br>
</td>
<td style="width:25%;height:262px;background-color:rgb(255,255,255)">
<div></div>
<div></div>
<div>
<div style="text-align:center"></div>
<div style="text-align:left"><font size="2"><b><a href="https://sites.google.com/a/tamahere.school.nz/tamahere-school/news/News-Flash">News Flash - click here for all news items.</a></b></font></div>
<div style="text-align:left"><font size="2">
<div style="display:block;text-align:left"><br>
</div>
</font></div>
<div style="text-align:left">
<p style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;line-height:normal"><img src="https://www.google.com/chart?chc=sites&amp;cht=d&amp;chdp=sites&amp;chl=%5B%5BRecent+announcements'%3D20'f%5Cv'a%5C%3D0'10'%3D399'0'dim'%5Cbox1'b%5CF6F6F6'fC%5CF6F6F6'eC%5C0'sk'%5C%5B%22Recent+Announcements%22'%5D'a%5CV%5C%3D12'f%5C%5DV%5Cta%5C%3D10'%3D0'%3D400'%3D297'dim'%5C%3D10'%3D10'%3D400'%3D297'vdim'%5Cbox1'b%5Cva%5CF6F6F6'fC%5CC8C8C8'eC%5C'a%5C%5Do%5CLauto'f%5C&amp;sig=SbZ1HTb3-SdNqDtQO_N3GCDihBQ" data-type="recent-announcements" data-props="align:left;borderTitle:Recent Announcements;num:18;postLength:SMALL;showBorder:false;showBorderTitle:false;sho
wThumbnail:true;srcPage:13c469b2193dc250;" width="400" height="300" style="display:block;text-align:left;margin-right:auto;"></p>
</div>
<div style="text-align:left"><font size="2"><br>
</font></div>
<div style="text-align:center"></div>
</div>
<div></div>

<div><br>
</div>
<div></div>
<br>
</td>
<td style="width:16px;height:262px;background-color:rgb(2,79,59)"><br>
</td>


<td style="width:25%;height:262px;background-color:rgb(255,255,255)">
<div style="text-align:center"><font size="2"><b><a href="https://sites.google.com/a/tamahere.school.nz/tamahere-school/community-sponsors">Thanks to our Platinum sponsors</a></b></font></div>

<div style="text-align:center"><span style="font-size:10pt">
<div style="display:block;text-align:left"><a href="http://www.oshbox.co.nz" imageanchor="1" target="_blank"><img alt="www.oshbox.co.nz" border="0" src="https://sites.google.com/a/tamahere.school.nz/tamahere-school/home/Advert%20for%20Homepage.jpg" style="width:100%"></a></div>
</span></div>
<div style="display:block;text-align:left">
<div style="display:block;text-align:left">
<div style="display:block;text-align:left"><a href="http://finnandpartners.co.nz/" imageanchor="1" target="_blank"><img alt="http://finnandpartners.co.nz/" border="0" src="https://sites.google.com/a/tamahere.school.nz/tamahere-school/home/Logo%20in%20Colour.JPG" style="width:100%"></a></div>
<div style="text-align:center">
<div style="display:block;text-align:left"><a href="http://www.zbhomes.co.nz/" imageanchor="1" target="_blank"><img alt="http://www.zbhomes.co.nz/" border="0" src="https://sites.google.com/a/tamahere.school.nz/tamahere-school/home/zbhomeslogo.png" style="width:100%"></a></div>
<br>
</div>
<div style="text-align:center"><a href="https://sites.google.com/a/tamahere.school.nz/tamahere-school/community-sponsors" style="font-size:small">Thanks to our Gold and Silver Sponsors</a></div>
</div>
<img src="https://www.google.com/chart?chc=sites&amp;cht=d&amp;chdp=sites&amp;chl=%5B%5BGoogle+Gadget'%3D20'f%5Cv'a%5C%3D0'10'%3D499'0'dim'%5Cbox1'b%5CF6F6F6'fC%5CF6F6F6'eC%5C0'sk'%5C%5B%22Embed+gadget%22'%5D'a%5CV%5C%3D12'f%5C%5DV%5Cta%5C%3D10'%3D0'%3D500'%3D167'dim'%5C%3D10'%3D10'%3D500'%3D167'vdim'%5Cbox1'b%5Cva%5CF6F6F6'fC%5CC8C8C8'eC%5C'a%5C%5Do%5CLauto'f%5C&amp;sig=pELdaKk71JxVJ0VYDMcGNVuZ1Xg" data-igsrc="http://128.gmodules.com/ig/ifr?mid=128&amp;synd=trogedit&amp;url=http%3A%2F%2Fwww.gstatic.com%2Fsites-gadgets%2Fembed%2Fembed.xml&amp;up_embed_snippet=%3Ciframe%20src%3D%22https%3A%2F%2Fdocs.google.com%2Fpresentation%2Fd%2F1vuxbGjHMUETZrrBjGkRDKTk2yPdASdE0NWVHuwCxDPE%2Fembed%3Fstart%3Dtrue%26loop%3Dtrue%26delayms%3D5000%22%20frameborder%3D%220%22%20width%3D%22300%22%20height%3D%22197%22%20allowfullscreen%3D%22true%22%20mozallowfullscreen%3D%22true%22%20webkitallowfullscreen%3D%22true%22%3E%3C%2Fiframe%3E&amp;h=170&amp;w=100%25" data-type="ggs-gadget" data-props="align:;borderTitle:Embed gadget;height:170;igsrc:http#58//128.gmodules.com/ig/ifr?mid=128&amp;synd=trogedit&amp;url=http%3A%2F%2Fwww.gstatic.com%2Fsites-gadgets%2Fembed%2Fembed.xml&amp;up_embed_snippet=%3Ciframe%20src%3D%22https%3A%2F%2Fdocs.google.com%2Fpresentation%2Fd%2F1vuxbGjHMUETZrrBjGkRDKTk2yPdASdE0NWVHuwCxDPE%2Fembed%3Fstart%3Dtrue%26loop%3Dtrue%26delayms%3D5000%22%20frameborder%3D%220%22%20width%3D%22300%22%20height%3D%22197%22%20allowfullscreen%3D%22true%22%20mozallowfullscreen%3D%22true%22%20webkitallowfullscreen%3D%22true%22%3E%3C%2Fiframe%3E&amp;h=170&amp;w=100%25;mid:128;scrolling:no;showBorder:false;showBorderTitle:null;spec:http#58//www.gstatic.com/sites-gadgets/embed/embed.xml;up_embed_snippet:<iframe src=&quot;https#58//docs.google.com/presentation/d/1vuxbGjHMUETZrrBjGkRDKTk2yPdASdE0NWVHuwCxDPE/embed?start=true&amp;loop=true&amp;delayms=5000&quot; frameborder=&quot;0&quot; width=&quot;300&quot; height=&quot;197&quot; allowfullscreen=&quot;true&quot; mozallowfullscreen=&quot;true&quot; webkitallowfullscreen=&quot;true&quot;></iframe>
;width:100%;" width="500" height="170" class="igm"></div>
<div style="display:block;text-align:left"></div>

<div style="display:block;text-align:left">
<div style="display:block;margin-top:5px;margin-right:auto;margin-bottom:0px;text-align:left">
<hr>
</div>
<div style="display:block;margin-top:5px;margin-right:auto;margin-bottom:0px;text-align:left"><a href="http://www.craigsip.com/" target="_blank"><img border="0" src="https://drive.google.com/uc?id=0BydjzASLQ7TCTzk4aXdwVzJPR3M" style="font-size:10pt"></a>&nbsp;<a href="http://eth.co.nz/" imageanchor="1" target="_blank"><img alt="http://eth.co.nz/" border="0" src="https://drive.google.com/uc?id=0BydjzASLQ7TCOWtUdUJKV3dZeTQ"></a>&nbsp;</div>
</div>
<div style="display:block;text-align:left">
<hr>
</div>
<div style="display:block;text-align:left">
<div style="display:block;text-align:left"></div>
<font size="3">
What's coming up</font><font size="2"> <a href="https://sites.google.com/a/tamahere.school.nz/tamahere-school/news/calendar">(Click here for full calendar)</a></font></div>
<div style="display:block;text-align:left"><img src="https://www.google.com/chart?chc=sites&amp;cht=d&amp;chdp=sites&amp;chl=%5B%5BGoogle+calendar'%3D20'f%5Cv'a%5C%3D0'10'%3D499'0'dim'%5Cbox1'b%5CF6F6F6'fC%5CF6F6F6'eC%5C0'sk'%5C%5B%22Community+Calendar%22'%5D'a%5CV%5C%3D12'f%5C%5DV%5Cta%5C%3D10'%3D0'%3D500'%3D447'dim'%5C%3D10'%3D10'%3D500'%3D447'vdim'%5Cbox1'b%5Cva%5CF6F6F6'fC%5CC8C8C8'eC%5C'a%5C%5Do%5CLauto'f%5C&amp;sig=_uSHiTR14FLhDfYsukbx0CtOe48" data-origsrc="src=tamahere.school.nz_lb7pjjgllh4nkgmkeo8ee19ivs@group.calendar.google.com&amp;color=#668CD9" data-type="calendar" data-props="align:left;borderTitle:Community Calendar;calendarTitles:Community Calendar;ctz:Pacific/Auckland;height:450;mode:agenda;objectTitle:Community Calendar;showBorder:false;showBorderTitle:false;showDate:false;showNav:false;sho
wTabs:false;showTitle:true;" width="500" height="450" style="display:block;text-align:left;margin-right:auto;"></div>
<div style="display:block;text-align:left"><span style="font-family:Arial,Helvetica,sans-serif;font-size:10pt">
<br>
</span></div>
<a href="https://sites.google.com/a/tamahere.school.nz/tamahere-school/news/community-notices-and-opportunities">
Community Notices and Opportunities</a><br>
<img src="https://www.google.com/chart?chc=sites&amp;cht=d&amp;chdp=sites&amp;chl=%5B%5BGoogle+Gadget'%3D20'f%5Cv'a%5C%3D0'10'%3D499'0'dim'%5Cbox1'b%5CF6F6F6'fC%5CF6F6F6'eC%5C0'sk'%5C%5B%22Embed+gadget%22'%5D'a%5CV%5C%3D12'f%5C%5DV%5Cta%5C%3D10'%3D0'%3D500'%3D506'dim'%5C%3D10'%3D10'%3D500'%3D506'vdim'%5Cbox1'b%5Cva%5CF6F6F6'fC%5CC8C8C8'eC%5C'a%5C%5Do%5CLauto'f%5C&amp;sig=iD9X7Se-YFxQS6vu_NZlsIL8Eb8" data-igsrc="http://120.gmodules.com/ig/ifr?mid=120&amp;synd=trogedit&amp;url=http%3A%2F%2Fwww.gstatic.com%2Fsites-gadgets%2Fembed%2Fembed.xml&amp;up_embed_snippet=%3Ciframe%20src%3D%22https%3A%2F%2Fdocs.google.com%2Fpresentation%2Fd%2F1V3J9pLakYsuoediS-XCaTIXoo8Fn-W4nJW5K8ybyRZI%2Fembed%3Fstart%3Dtrue%26loop%3Dtrue%26delayms%3D5000%22%20frameborder%3D%220%22%20width%3D%22300%22%20height%3D%22509%22%20allowfullscreen%3D%22true%22%20mozallowfullscreen%3D%22true%22%20webkitallowfullscreen%3D%22true%22%3E%3C%2Fiframe%3E&amp;h=509&amp;w=100%25" data-type="ggs-gadget" data-props="align:left;borderTitle:Embed gadget;height:509;igsrc:http#58//120.gmodules.com/ig/ifr?mid=120&amp;synd=trogedit&amp;url=http%3A%2F%2Fwww.gstatic.com%2Fsites-gadgets%2Fembed%2Fembed.xml&amp;up_embed_snippet=%3Ciframe%20src%3D%22https%3A%2F%2Fdocs.google.com%2Fpresentation%2Fd%2F1V3J9pLakYsuoediS-XCaTIXoo8Fn-W4nJW5K8ybyRZI%2Fembed%3Fstart%3Dtrue%26loop%3Dtrue%26delayms%3D5000%22%20frameborder%3D%220%22%20width%3D%22300%22%20height%3D%22509%22%20allowfullscreen%3D%22true%22%20mozallowfullscreen%3D%22true%22%20webkitallowfullscreen%3D%22true%22%3E%3C%2Fiframe%3E&amp;h=509&amp;w=100%25;mid:120;scrolling:no;showBorder:false;showBorderTitle:null;spec:http#58//www.gstatic.com/sites-gadgets/embed/embed.xml;up_embed_snippet:<iframe src=&quot;https#58//docs.google.com/presentation/d/1V3J9pLakYsuoediS-XCaTIXoo8Fn-W4nJW5K8ybyRZI/embed?start=true&amp;loop=true&amp;delayms=5000&quot; frameborder=&quot;0&quot; width=&quot;300&quot; height=&quot;509&quot; allowfullscreen=&quot;true&quot; mozallowfullscreen=&quot;true&quot; webkitallowfullscreen=&quot;true&quot;></iframe>
;width:100%;" width="500" height="509" style="display:block;text-align:left;margin-right:auto;" class="igm"><br>
<div></div>
<br>
<br>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
CharlesEF
post Nov 22 2014, 02:33 AM
Post #2


Programming Fanatic
********

Group: Members
Posts: 1,981
Joined: 27-April 13
From: Edinburg, Texas
Member No.: 19,088



The code you posted is not complete. You are missing a lot of information. If you view your site and right click the mouse, select 'View Source', on an empty section of the page. There you can see the complete HTML source. You should run your pages thru an HTML validator, like the one shown at the top and bottom of each page on this site. Or, you can use the one found here. I ran the home page thru the w3.org site and it found 135 Errors, 52 warning(s) . Some of those errors is because of your use of the quote character '&'. In HTML you should use the HTML entity: '"'. Once you correct the easy errors then you will only be left with the harder ones, which someone here can help you with.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
CharlesEF
post Nov 22 2014, 05:36 AM
Post #3


Programming Fanatic
********

Group: Members
Posts: 1,981
Joined: 27-April 13
From: Edinburg, Texas
Member No.: 19,088



Sorry, I stated a quote problem (maybe that is true somwhere) but it is actually an ampersand problem. You still need to use HTML entities for Quotation marks AND Ampersands. The entities to use should be:
QUOTE
Quotation marks = '& q u o t ;' and Ampersands = '& a m p ;' (I added the spaces because this board will convert without the spaces, as seen in my previous post)
Sometimes by brain thinks one thing but my fingers type something else.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 25th April 2024 - 03:45 AM