answersLogoWhite

0

<img src="img.jpg" />

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

How can you include images in a webpage using HTML and Java script?

You would not need JavaScript to include an image. &lt;img&gt; in HTML can do the work of including.


How you can use jquery in HTML?

jQuery is like JavaScript, you can code inside your html file using the &lt;script&gt; tag. Or you can use an include tag and call an external sheet with your jQuery code.


How do you restrict no of characters in text box in HTML?

by using java script


Is HTML a client side script or server side?

HTML is not a script language. However, HTML is executed on the client side.HTML is not a script language. However, HTML is executed on the client side.HTML is not a script language. However, HTML is executed on the client side.HTML is not a script language. However, HTML is executed on the client side.HTML is not a script language. However, HTML is executed on the client side.HTML is not a script language. However, HTML is executed on the client side.HTML is not a script language. However, HTML is executed on the client side.HTML is not a script language. However, HTML is executed on the client side.HTML is not a script language. However, HTML is executed on the client side.HTML is not a script language. However, HTML is executed on the client side.HTML is not a script language. However, HTML is executed on the client side.


Does the external JavaScript file have to contain the script tag?

No, just the HTML file. If you include the tag, it will cause a syntax error. The best way to think of it is that the HTML file already has the tag in it, and the external JS file is inserted into the HTML file at that point, between the tags.


Does HTML code work in java script?

Yes it does. That is how client side validation of html control is possible using javascript


How do you put java script into HTML?

Javascript inside html &lt;html&gt; &lt;head&gt; &lt;script type="text/javascript" language="javascript"&gt; // Java script code here &lt;/script&gt; &lt;body&gt; // html code here &lt;/body&gt; &lt;/html&gt; Via External Link: &lt;html&gt; &lt;head&gt; &lt;script type="text/javascript" language="javascript" src="location of js file"&gt; &lt;/script&gt; &lt;body&gt; // html code here &lt;/body&gt; &lt;/html&gt;


What element do you use to add JavaScript code to a web page and how is it structured?

To add javascript code in HTML, you have to include the script tag on top. It can be added as &lt;script src="source of script"&gt;&lt;/script&gt;


How do you return current url with simple HTML dom?

You can get the current url using the document.URL property, as in: &lt;html&gt; &lt;body&gt; The full URL of this document is: &lt;script&gt; document.write(document.URL); &lt;/script&gt; &lt;/body&gt; &lt;/html&gt; Source: http://www.w3schools.com/jsref/prop_doc_url.asp


How do you write a web proxy using HTML?

HTML is, as it name says, a language for markup, not script or programming. This means it is simply not possible to write a web proxy in HTML.


Calculations in HTML?

HTML is a static language, you cannot do any math using only HTML. To do math, you need a scripting language such as JavaScript. Try this code: &lt;script type="text/javascript"&gt; document.write((2+3)*2); &lt;/script&gt; put this in your HTML page and it should display as 10


Is HTML a script language?

No, but you can nest JavaScript into the HTML.