html - The id I set in Google Sites for an image doesn't work -


every time try add id image in html script, google site, , save changes disappears html script. here example of want:

<div style="text-align:left;display:block;margin-right:auto;margin-left:auto">  <table cellspacing="0">  <tbody>  <tr>  <td style="background-color:rgb(243,243,243);width:320px;height:131px">&nbsp;welcome!<br>  <hr style="color:#f3f3f3;background-color:#00b0f0;height:2px;width:100%">  <ol><li>introduction</li>  <li>contacts &amp; roles</li>  <li>regular tasks &amp; deadlines</li>  <li>priorities/initiatives of 2017</li>  <li><a href="https://sites.google.com/">amera finance &amp; accounting guidelines</a></li>  </ol>  </td>  </tr>  </tbody>  </table>  </div>  <div style="text-align:left;display:block;margin-right:auto;margin-left:auto"><br>  </div>  <div style="text-align:left;display:block;margin-right:auto;margin-left:auto"><img id="intro" border="0" src="https://sites.google.com/imagelink" style="display:block;margin-right:auto;margin-left:auto;text-align:center"></div>  <div style="text-align:left;display:block;margin-right:auto;margin-left:auto">  <div style="text-align:center"><br>  </div>  <img id="contacts" border="0" src="https://sites.google.com/imagelink" style="display:block;margin-right:auto;margin-left:auto;text-align:center">  <div></div>  <br>  <div style="text-align:left;display:block;margin-right:auto;margin-left:auto"></div>  <div style="text-align:left;display:block;margin-right:auto;margin-left:auto">  <div style="text-align:center"></div>  <div style="text-align:center">  <div style="text-align:left">  <img id="tasks" border="0" src="https://sites.google.com/imagelink" style="display:block;margin-right:auto;margin-left:auto;text-align:center"></div>  <div style="text-align:left"><br>  </div>  </div>  <img id="initiatives" border="0" src="https://sites.google.com/imagelink" style="display:block;margin-right:auto;margin-left:auto;text-align:center">  <br>  </div>  <br>  <div><br>  </div>  </div>

the issue when enter html script comes out this:

<div style="text-align:left;display:block;margin-right:auto;margin-left:auto">  <table cellspacing="0">  <tbody>  <tr>  <td style="background-color:rgb(243,243,243);width:320px;height:131px">&nbsp;welcome!<br>  <hr style="color:#f3f3f3;background-color:#00b0f0;height:2px;width:100%">  <ol><li>introduction</li>  <li>contacts &amp; roles</li>  <li>regular tasks &amp; deadlines</li>  <li>priorities/initiatives of 2017</li>  <li><a href="https://sites.google.com">amera finance &amp; accounting guidelines</a></li>  </ol>  </td>  </tr>  </tbody>  </table>  </div>  <div style="text-align:left;display:block;margin-right:auto;margin-left:auto"><br>  </div>  <div style="text-align:left;display:block;margin-right:auto;margin-left:auto"><img border="0" src="https://sites.google.com/imagelink" style="display:block;margin-right:auto;margin-left:auto;text-align:center"></div>  <div style="text-align:left;display:block;margin-right:auto;margin-left:auto">  <div style="text-align:center"><br>  </div>  <img border="0" src="https://sites.google.com/imagelink" style="display:block;margin-right:auto;margin-left:auto;text-align:center">  <div></div>  <br>  <div style="text-align:left;display:block;margin-right:auto;margin-left:auto"></div>  <div style="text-align:left;display:block;margin-right:auto;margin-left:auto">  <div style="text-align:center"></div>  <div style="text-align:center">  <div style="text-align:left">  <img border="0" src="https://sites.google.com/imagelink" style="display:block;margin-right:auto;margin-left:auto;text-align:center"></div>  <div style="text-align:left"><br>  </div>  </div>  <img border="0" src="https://sites.google.com/imagelink" style="display:block;margin-right:auto;margin-left:auto;text-align:center">  <br>  </div>  <br>  <div><br>  </div>  </div>

i don't know why this, making basic mistake , use help!

i have solved issue of friend. solve issue add section before <img> <a name="anchorname"></a>. id="anchorname" doesn't work in google sites.

then need make hyperlink section https://sitename.com/pagename#anchorname

hope helps needing answer previous question.


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -