answersLogoWhite

0


Best Answer

Let following be HTML page:

<HTML>

<head>

<link href='external_style.css' type='text/css' rel='stylesheet'>

</head>

<body>

<p>Hello world</p>

</body>

</HTML>

and following be external css script:

p {text-decoration:underline}

Here is HTML document, in the head section tag <link> is used. Tag link is used to get reference of external style sheet page named "external_style.css" using href property. Both css page and HTML page resides in same directory.

the external css page cannot contain any tags like:<HTML> or <style>

it can contain only style specification like:

p {font-size : 8pt}

H1 {text-decoration:underline}

etc

User Avatar

Wiki User

12y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

11y ago

The first is external to the webpage where it will be stored within the websites folder.

the second is where it is external to the website stored in another folder somewhere.

The first is used for using a Cascade Style Sheet for a website whilst as the second is used for using a single Cascade Style Sheet for multiple websites.

- D Thom

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Compare two methods of accessing external CSS script?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

In a script what does EXT. stand for?

EXT. Stands for External, as in external location (outside).


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.


Which tag is used to implement javascript in an HTML file?

The SCRIPT tag is used to implement a JavaScript (or other kind, i.e. VBScript) in an HTML document. The tag can either contain the actual JavaScript code, or can point to an external script file that should be included at render-time. To add JavaScript directly to the document in HTML 5, place these tags in either the HEAD section or just prior to the BODY sections closing tag. &lt;script type="text/javascript"&gt; //JS code goes here &lt;/script&gt; To call an external JavaScript file, use the "src" attribute, like so: &lt;script type="text/javascript" src="path/to/script.js"&gt;&lt;/script&gt; If you're unsure of where to put the JavaScript tags, see the related answer(s).


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;


How do you equate a php variable to a javascript variable?

Ideal thing would be to retrieve the value from PHP using AJAX and then assigning it to a java script variable. Thereafter compare it to the java script variable that is already present.

Related questions

In a script what does EXT. stand for?

EXT. Stands for External, as in external location (outside).


Where can you find the script to The Mist by Stephen King?

The screenplay for &quot;The Mist&quot; written by Frank Darabont is based on Stephen King's novella. You can find the script in various sources online like script databases, forums, or screenwriting websites. Just make sure to respect copyright laws and usage guidelines when accessing or using the script.


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.


Is it possible to compare database tables using SQL?

Yes it is possible to compare two different databases. All you have to do is implement the right script which will compare the information and the structure of the databases.


Which tag is used to implement javascript in an HTML file?

The SCRIPT tag is used to implement a JavaScript (or other kind, i.e. VBScript) in an HTML document. The tag can either contain the actual JavaScript code, or can point to an external script file that should be included at render-time. To add JavaScript directly to the document in HTML 5, place these tags in either the HEAD section or just prior to the BODY sections closing tag. &lt;script type="text/javascript"&gt; //JS code goes here &lt;/script&gt; To call an external JavaScript file, use the "src" attribute, like so: &lt;script type="text/javascript" src="path/to/script.js"&gt;&lt;/script&gt; If you're unsure of where to put the JavaScript tags, see the related answer(s).


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;


How do you equate a php variable to a javascript variable?

Ideal thing would be to retrieve the value from PHP using AJAX and then assigning it to a java script variable. Thereafter compare it to the java script variable that is already present.


Where is the actual download button on the adobe flash player website after you have selected the version to download?

The download button should appear after the 'script' has attempted to identify the type of computer and operating system you are accessing the site with.


How do you signal a web browser that a following segment of text is a scripting language?

You use the SCRIPT tag. &lt;script type="text/javascript"&gt; alert("This IS JAVASCRIPT!"); &lt;/script&gt; You can place the SCRIPT tag anyplace you'd like. Generally, scripts that are being run when the page loads are placed in the HEAD section of the document, while scripts that run after the page loading are placed near the bottom of the document. (This has to do with search engine optimization (SEO)) The script tag is also capable of referencing an external script file using the SRC attribute.


How can you open an external application in Visual studio 2005 using visual basic script?

To open a file simply use the command shell("directory")


Compare action script2 and action script 3?

ActionScript 3 is the newer, quicker version of Adobe Flash's ActionScript. AS3, as Action Script 3 is normally called, is harder and more complicated for beginners, but much easier and more effective in the long run.


How can you execute a PHP script using command line?

2 Methods: 1. You execute your php binary (in linux, make sure you have php-cli installed) and pass the script as an argument. EG ($: /usr/bin/php /home/user/script.php) 2. A sh'bang in the first line of your script, with the full path of your php executable: #!/usr/bin/php -q &lt;?php ScriptStuff(); ?&gt;