Explain the post and get methods, Programming Languages

Assignment Help:

Question:

(a)  An HTML file "decor.html" uses an external Cascading Style Sheet file name  "nicedesign.css". Users are viewing the Web page making use of different kinds of  browsers. The version for those browsers also varies. Give the appropriate Browser Sniffer codes which enable you to use the file "nicedesign.css" within the file "decor.html" only if the browser is Internet Explorer 5 or above.

(b)  Give extract codes about how  Cascading Style Sheets can be used to control the appearance of hyperlinks.

(c)  (i) Describe fully how the CGI architecture operates. Illustrate your answer using a diagram. 

(ii) Explain the POST and GET methods with respect to the above architecture.

(d) Explain and illustrate with the aid of an annotated sketch what will be the output when the following codes are loaded into a browser:

< script language="JavaScript">
    var valX = 5,  valY ;
            while ( valX >= 1 ) {
     valY = 1 ;
            while ( valY <= 5 ) {
         document.write( valX % 2 == 1 ? "?" : "@" );
           ++ valY;
      }
            -- valX;
      document.writeln( "
" );
      }
< /script>


Related Discussions:- Explain the post and get methods

What are relative urls, What are Relative URLS ? When a web browser re...

What are Relative URLS ? When a web browser reads an HTML document, it has a great deal of information about the document. This includes the protocol used to retrieve the docu

Prolog predicate to remove nth element, Write a Prolog predicate remove_nth...

Write a Prolog predicate remove_nth(N,L1,L2) that is true if list L2 is just list L1 with its Nth element removed. If L1 does not have an Nth element then the predicate should fail

Lunix, showing work Ubuntu system or either opensuse

showing work Ubuntu system or either opensuse

Script of switch case, Write a script called 'prob3.m' that does the same t...

Write a script called 'prob3.m' that does the same thing as the previous question except that it makes use of a switch-case construct instead of an if-else. In the file 'hw4.m'

Write and test a simple perl program on the linux platform, Write and test ...

Write and test a simple perl program on the linux platform.  You may use any linux system you wish, including the Suse linux installed in the lab. Activities. Note:  to r

Matrix, Write a function named prob2.m which creates and returns an N×N ide...

Write a function named prob2.m which creates and returns an N×N identity matrix. An identity matrix is a square matrix with values of one on the main diagonal and zeros in all off-

Program to change date format, Write a program that accepts a date from the...

Write a program that accepts a date from the user in the form mm/dd/yyyy and then displays it in the form month dd, yyyy, where month is the name of the month. Enter a date (mm/d

how to store multidimensional array in a single column in m, how to store ...

how to store multidimensional array in a single column in mysql database using MATLAB?

Matrices and vectors, This section is proposed to be a catch all for severa...

This section is proposed to be a catch all for several of the fundamental concepts which are used occasionally in working with systems of differential equations. There will not be

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd