Question
12.6 Create a web page in which the user is allowed to select the pages background color and whether the page uses serif or sans
12.6 Create a web page in which the user is allowed to select the pages background color and whether the page uses serif or sans serif fonts. Then change the body elements style attribute accordingly.
Gray background
White background
Sans-serif text
Serif text
If the user onclicks any of the options, the webpage will turn into that format. For example, if the user clicks "Gray backgound", the background color of the webpage will be Gray. If the user clicks Serif-text, the text in the web page will be in Serif text.
That's it! You do not have to consider the user to really edit the webpage. Please see the attached webpage image.
Solution 12.5 Microsoft Internet Exploren File Edit View Favorites Tools Help Back Search Favorites Address Ask C:Documents and SettingstxiaolitMy Documentscourses troyIII 20101cs44431course_docthomeworkihomework4jex12_07.html Go Links OCNIN McAfee Q Search the web Search YouTubecook Games a Amazon Word of the Day Weather E-mail Options Secure Search Some sample text Options: Gray background White background Sans-serif text Serif text Done My Computer start 4 Internet Explorer week! ex,JPG Paint EN M 11:19 AMStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started