html - What is the best way to put my logo into the footer of every website I make? -


What is the best way to enter my company's logo with a link at the end of the footer in each website if the customer allows me)?

First of all, I will host a logo image on my site, what would be the best way for me in XHTML and CSS for my logo?

Include it to add JavaScript to your server. In this way, if you do not need to touch your client files, you can modify it in the future. Of course, this will not give you a slander with people browsing as you disable javascript.

  & lt; Script type = "text / javascript" href = "http://mysite.com/ siteby.js" & gt; & Lt; / Script & gt; & Lt; / Body & gt; & Lt; / Html & gt;  

siteby.js will exist on your server, it will be something similar to the following:

  // Create a link var link = Document.createElement ("a"); Link.setAttribute ("href", "http://mysite.com"); Link.innerHTML = "Site by Jonathan Sampson"; // Add it to the body document. Link (link); Just make sure that whatever you have in this script is efficient and quick, and that your server is quick to deliver. 


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -