Categories:
.NET (961)
C (387)
C++ (185)
CSS (84)
DBA (8)
General (31)
HTML (48)
Java (641)
JavaScript (220)
JSP (109)
JUnit (31)
MySQL (297)
Networking (10)
Oracle (562)
Perl (48)
Perl (9)
PHP (259)
PL/SQL (140)
RSS (51)
Software QA (28)
SQL Server (5)
Struts (20)
Unix (2)
Windows (3)
XHTML (199)
XML (59)
Other Resources:
What Is a SCRIPT Tag/Element
What Is a SCRIPT Tag/Element? - XHTML 1.0 Tutorials - Understanding In-line Elements and Tags
✍: FYIcenter.com
A "script" element is both an inline element and a block element that you can use to specify a script code to be executed by browsers. Here are basic rules about "script" elements:
Below is a good tutorial example of using "script" elements:
<?xml version="1.0" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>SCRIPT Elements</title> </head> <body> <p>Let's ask the browser to calculate: <br/> sqrt(2.0) = <script type="text/javascript"> document.write(Math.sqrt(2.0)) </script></p> </body> </html>
If you save the above document as inline_script.html, and view it with
Internet Explorer, you will see that the browser calculates sqrt(2.0) correctly
and displays the result as shown below:
2007-05-12, 4561👍, 0💬
Popular Posts:
What is COCOMO I, COCOMOII and COCOMOIII? In CD we have a complete free PDF tutorial of how to prepa...
How Can we change priority & what levels of priority are provided by Dot Net? Thread Priority ca...
How To Merge Values of Two Arrays into a Single Array? - PHP Script Tips - PHP Built-in Functions fo...
Explain simple Walk through of XmlReader ? In this section we will do a simple walkthrough of how to...
Once I have developed the COM wrapper do I have to still register the COM in registry? Yes.