Question: Fill in the Missing Code The web page defined by the given code below should display a heading and a description list, but some HTML
Fill in the Missing Code
The web page defined by the given code below should display a heading and a description list, but some HTML tags, indicated by <_>, are missing.
|
<_>This is typically for static websites<_> <_>PHP<_> <_>This is typically for dynamic websites <_> <_> <_> <_>
, |
With the aid of a diagram, show how the web page in the question above would be displayed and justify it with explanation(s).
Using the code in the question above as a guide, write down an HTML code with a heading and description list which would display/list your courses registered for this semester and their descriptions.
Compare the two HTML codes below (CODE A and B) which use inline and internal CSS codes, explaining their output and also using two diagrams to show how both would be displayed. (NOTE: The colors should be indicated with their names in the diagrams)
CODE A
|
body {background-color: powderblue;} h1 {color: blue;} p {color: red;}
This is a paragraph.
|
CODE B
|
body {background-color: powderblue;} h1 {color: blue;} p {color: red;}
This is a paragraph.
This is another paragraph
|
Using CODE A above, replace the Internal CSS code with a link to an External CSS file which would perform the same function as the Internal CSS code found in CODE A above and name the External CSS file with the appropriate name indicated with the help of the sample code below:
NOTE: You have to show/write down the codes for both the modified CODE A and the External CSS File.
The HTML code below includes CSS code and Javascript code, explain the outputs of this code and further use a diagram(s) to depict the outputs.
| body {background-color: powderblue;} h1 {color: blue;}
My Heading 1
|
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
