Ask Question, Ask an Expert

+1-415-315-9853

info@mywordsolution.com

Ask Programming Language Expert

Content: XHTML and CSS

Coverage: basic tags for text, imagine, page layout, CSS

These exercises will aid you become more fluent in XHTML. Note that your files should be validated correctly in order to obtain full credit. XHTML 1.0 Strict is expected (unless otherwise specified by the exercises).

Exercise 1

Below is an ex of an invalid XHTML page. Your aim is to reprepare the code so that:

• No deprecated/obsolete tags are being used
• All elements are nested correctly (i.e. Hello)
• It validates as XHTML 1.0 Strict (See http://validator.w3.org/)
• Presentation is separated from content (All style must be specified in the head)


Correct the Errors!</head><br /><body bgcolor=red><br />   <center><u>XHTML is the way to go!</u></center><br />   <font size=14 face=Arial><br />      <a href=www.w3schools.com><b>Click here</a> for more information.</b><br />   </font><br />   <br><br><br />   <ul><br />     <li><P><STRIKE>Say no to HTML and its flaws!</STRIKE></P><br />     <li><P>Use XHTML instead!</P><br />   <ul><br /></body><br /></html></p> <p style="text-align: justify;">Exercise 2</p> <p style="text-align: justify;">Using XHTML, produce the subsequent two lists sets on a single page:<br /><br />Employ an embedded stylesheet to style each list. Your CSS should style the bullet points as above. Ensure that nesting is appropriate and that the page validates as XHTML 1.0 Strict.</p> <p style="text-align: justify;">Exercise 3<br />Theory - Elucidate, in your own words, how web designers can deal with CSS conflict resolution. What is the order of precedence between the dissimilar types of CSS (inline, embedded and external)? describe in a short paragraph.<br />Exercise 4<br />On a single XHTML page, consist of the following two div container elements in the body. Using an external stylesheet, add style to the div elements such that one div has some overlap with the second div (Hint: Make use of relative or absolute positioning). Both divs must have a padding of 5px all around, a green 2px dotted border, a width and height of 200px and their text must be centered.</p> <p style="text-align: justify;">Also, add style to the span class “red” so that the text displays in red and is bold.</p> <p style="text-align: justify;"><div id=”first”><br />     <span class=”red”>This is a DIV Container</span><br /></div><br /><div id=”second”><br />     DIVs are a powerful way to modularize presentation<br /></div></p> <p style="text-align: justify;">Exercise 5</p> <p style="text-align: justify;">Make a single page that demonstrates an XHTML form.</p> <p style="text-align: justify;">The form must consist of all the fields you feel are necessary for submitting an order of books and should consist of at least one of the following input types:</p> <p style="text-align: justify;">• text input field<br />• select field <br />• radio or checkbox input fields <br />• textarea field</p> <p style="text-align: justify;">The form doesn’t require to do anything when submitted, although, CSS must be used to make it visually appealing. All style should be embedded (added into the head section of the document).</p> <p style="text-align: justify;">Exercise 6 – Project</p> <p style="text-align: justify;">The last exercise of each assignment will be continuous from assignment to assignment and will have the objective of building an e-store website by the end of the course.<br />For the first part you will start creating the layout of the e-store. Using XHTML and CSS you will design the skeleton of the site. It will be broken down into 4 components.</p> <p style="text-align: justify;">1) The top banner. You will have a banner that stretches across the top of the site. It should have a background color as well as some heading text. This banner will be present all through the pages of your site.</p> <p style="text-align: justify;">2) The side menu. You will have a side menu on the left hand side (which will later be employed to navigate the site). Create a list of navigational options in the side menu (i.e. home, checkout, my cart…). These should be “dummy” links and don’t have to be active at this time.</p> <p style="text-align: justify;">3) Inside content. Have some inside content to introduce the products you will be selling. For now, this can be decorated in any way. You can use this section to show your knowledge of various XHTML tags and CSS properties.</p> <p style="text-align: justify;">4) The bottom banner. You will have a bottom banner that stretches across bottom of the site. Give it a background color, and add in some fake legal/contact us/about us text. This banner will be present throughout all the pages of your site.</p> <p style="text-align: justify;">*Note:</p> <p style="text-align: justify;">The website must react gracefully to a user’s actions. For ex, a user must be able to resize his/her browser window and the site must still look “normal”. Take this into account when designing your website. <br />Though this isn’t a functional requirement, your sites must always be well organized with appropriately named files and well defined directories.</p> <p style="text-align: justify;">It can be very difficult to achieve the same look and feel across all browsers. Obviously it is preferable to have the site look good across all major browsers (ie: Internet Explorer, Firefox, Chrome, Safari…) however for the sake of this course just focus on building the website so that it is compatible best with Firefox.</p></span> </div></div></div> <div id="viewreadmore" class="que_link"> <a id="readmore" href="javascript:void(0);" style="font-size: 14px; color: #ff700c;" class="read-more-trigger mar_top10" onclick="changeheight(this)">View complete question</a> </div> <div class="innercanteenouter_inner_center3"> <p>Programming Language, <span>Programming</span> </p> </div> <div class="clear"></div> </div> </div> <div class="innercanteenouter_inner_center6"> <div class="innercanteenouter_inner_center6_center7"> <div class="innercanteenouter_inner_center6_center"> <ul> <li class="innercanteenouter1"> Category:- <span>Programming Language</span> </li> <li class="innercanteenouter2"> Reference No.:- <span>M91155 </span> </li> </ul> <div class="clear"></div> <div class="innercanteenouter_inner_center6_center2"> <a href="http://www.mywordsolution.com/ShopingCart.aspx?solutionyuhbfrtuiioljhy&solutionid=1155&schedule=jutiursgyhoplmntugrd">Order Now to Get Expert's Answer</a> </div> </div> <div class="innerjohnanswered1"> <div class="innerjohnanswered1ftti"><h2></h2> <p></p> </div> <div class="clear"></div> </div> </div> </div> <div class="inneranswer"> <b>Have any Question?</b>  <br /><br /> <div class="inneranswerhgrows"> <textarea name="txtReview" id="txtReview" class="inneranswerhgrowss" ValidationGroup="Review" placeholder=" Write your message!!"></textarea> </div> <div class="inneranswerhgrowsddf"> <input type="submit" name="btnReview" value="Have Question" onclick="javascript:WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions("btnReview", "", true, "Review", "", false, false))" id="btnReview" class="planpageinnerrightcontleftcommetgetquotebt" /> </div> </div> <br /> <div class="innerquestions"> <h2>Related Questions in Programming Language</h2> <table id="dlReviewList" cellspacing="0" width="100%"> <tr> <td> <div class="innerquestionsgtr"> <h3> <span id="dlReviewList_lblTitle_0"><b><a href='http://www.mywordsolution.com/question/assignmentmany-applications-impose-rules-for-user-passwords/92062925' target='_balnk' class='que_link' >Assignmentmany applications impose rules for user passwords</a></b></span></h3> <p> <span id="dlReviewList_lblContent_0">Assignment Many applications impose rules for user passwords. Write a program that utilizes methods to check a user entered password ***** print out either "Valid" or "Invalid", based on the following rules: • Password * ...</span> </p> </div> </td> </tr><tr> <td> <div class="innerquestionsgtr"> <h3> <span id="dlReviewList_lblTitle_1"><b><a href='http://www.mywordsolution.com/question/assignmentin-this-assignment-you-will-implement-a/92065081' target='_balnk' class='que_link' >Assignmentin this assignment you will implement a</a></b></span></h3> <p> <span id="dlReviewList_lblContent_1">Assignment In this assignment, you will implement a simplified gradebook. Your application should: Ask for a student's name. Ask for how many letter grades will be inputted. After all of the valid letter grades are enter ...</span> </p> </div> </td> </tr><tr> <td> <div class="innerquestionsgtr"> <h3> <span id="dlReviewList_lblTitle_2"><b><a href='http://www.mywordsolution.com/question/write-an-abstract-superclass-encapsulating-a-vacation-a/92072401' target='_balnk' class='que_link' >Write an abstract superclass encapsulating a vacation a</a></b></span></h3> <p> <span id="dlReviewList_lblContent_2">Write an abstract superclass encapsulating a vacation: A vacation has two attributes: a budget and a destination. It has an abstract method returning by how much the vacation is over or under budget. This class has two n ...</span> </p> </div> </td> </tr><tr> <td> <div class="innerquestionsgtr"> <h3> <span id="dlReviewList_lblTitle_3"><b><a href='http://www.mywordsolution.com/question/design-and-implement-your-own-simple-class-to-represent-any/92076251' target='_balnk' class='que_link' >Design and implement your own simple class to represent any</a></b></span></h3> <p> <span id="dlReviewList_lblContent_3">Design and implement your own simple class to represent any household item of your choice (toaster, fan, hair dryer, piano ...) Your class should have a constructor, one additional method and at least one member variable ...</span> </p> </div> </td> </tr><tr> <td> <div class="innerquestionsgtr"> <h3> <span id="dlReviewList_lblTitle_4"><b><a href='http://www.mywordsolution.com/question/the-program-will-store-the-realty-listings-data-as-a/92075800' target='_balnk' class='que_link' >The program will store the realty listings data as a</a></b></span></h3> <p> <span id="dlReviewList_lblContent_4">The program will store the realty listings data as a dynamically allocated LINKED LIST, instead of an array of records. The program will allow the realtors to both maintain and use the listings data. 1. Again, begin the ...</span> </p> </div> </td> </tr><tr> <td> <div class="innerquestionsgtr"> <h3> <span id="dlReviewList_lblTitle_5"><b><a href='http://www.mywordsolution.com/question/assignmentinstructions--the-following-programming-problem/92075895' target='_balnk' class='que_link' >Assignmentinstructions the following programming problem</a></b></span></h3> <p> <span id="dlReviewList_lblContent_5">Assignment Instructions: The following programming problem can be solved by a program that uses three basic tasks-Input Data, Process Data, and Output Results. To process the data, it uses loops, arrays, decisions, accum ...</span> </p> </div> </td> </tr><tr> <td> <div class="innerquestionsgtr"> <h3> <span id="dlReviewList_lblTitle_6"><b><a href='http://www.mywordsolution.com/question/write-a-method-to-computer-the-following-series-mi--12--23-/92058472' target='_balnk' class='que_link' >Wite a method to computer the following series mi 12 23 </a></b></span></h3> <p> <span id="dlReviewList_lblContent_6">Write a method to computer the following series: m(i) = 1/2 + 2/3 + . . . + i/i + 1 Write a test program that displays the following table: I m(i) 1 0.5000 2 1.1667 . . . 19 16.4023 20 17.3546 Formulas to achieve the abo ...</span> </p> </div> </td> </tr><tr> <td> <div class="innerquestionsgtr"> <h3> <span id="dlReviewList_lblTitle_7"><b><a href='http://www.mywordsolution.com/question/test-1you-are-permitted-the-use-of-pre-written-notes/92075940' target='_balnk' class='que_link' >Test 1you are permitted the use of pre-written notes</a></b></span></h3> <p> <span id="dlReviewList_lblContent_7">Test 1 You are permitted the use of pre-written notes, previous labs and the textbook. You are NOT permitted the help of the Lab TA or the Internet. Any cheating will result in a report Academic Integrity Violation and a ...</span> </p> </div> </td> </tr><tr> <td> <div class="innerquestionsgtr"> <h3> <span id="dlReviewList_lblTitle_8"><b><a href='http://www.mywordsolution.com/question/1-design-a-class-called-complex-the-class-enables/92064823' target='_balnk' class='que_link' >1 design a class called complex the class enables</a></b></span></h3> <p> <span id="dlReviewList_lblContent_8">1) Design a class called Complex. The class enables operations on so called complex numbers. These are numbers of the form realPart + imaginary Part *i, where the i has the value 2) Design the class to have two private m ...</span> </p> </div> </td> </tr><tr> <td> <div class="innerquestionsgtr"> <h3> <span id="dlReviewList_lblTitle_9"><b><a href='http://www.mywordsolution.com/question/question-1-batteriesi-want-to-use-a-galvanic-cell-to-power/92058488' target='_balnk' class='que_link' >Question 1 batteriesi want to use a galvanic cell to power</a></b></span></h3> <p> <span id="dlReviewList_lblContent_9">Question 1: Batteries I want to use a galvanic cell to power a 60-watt light bulb. Complete the following steps to determine how long the galvanic cell will power the light bulb before running out. a.) The galvanic cell ...</span> </p> </div> </td> </tr><tr> <td></td> </tr> </table> </div> <div class="innerlogo"> <ul> <li><div class="innerlogoback1"></div></li> <li><div class="innerlogoback2"></div></li> <li><div class="innerlogoback3"></div></li> </ul> </div> </div> <div class="innercanteenouter_inner_right"> <div class="innercanteenouter_inner_right1"> <div class="innercanteenouter_inner_right1pou"> <ul> <li class="red1"> <div class="counterDivTag">4,153,160 Questions Asked</div> </li> <li class="oring1"><div class="counterDivTag">13,132 Experts</div></li> <li class="grine1"><div class="counterDivTag">2,558,936 Questions Answered</div></li> </ul> <div class="clear"></div> <h2>Ask Experts for help!!</h2> </div> </div> <div class="innerchoose"> <h2>Looking for Assignment Help?</h2> <p> <b>Start excelling in your Courses, Get help with Assignment</b><br /><br /> Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time. </p> <a href="http://www.mywordsolution.com/free-quote-job-posting.aspx">Ask Now</a> <span>Help with Problems, Get a Best Answer</span> </div> <div class="innertranspoitation"> <div class="innertranspoitation1"> <ul> <li><a href="#">Recent Questions </a></li> </ul> <div class="clear"></div> </div> <table id="LeftSideControl1_RecentQuestion1_dlReviewList" cellspacing="0" width="100%"> <tr> <td> <div class="innertranspoitation2"> <h3><span id="LeftSideControl1_RecentQuestion1_dlReviewList_lblTitle_0"><b><a href='http://www.mywordsolution.com/question/section-onea-in--an-atwood-machine-suppose-two-objects-of/92089682' target='_balnk' class='que_link' >Section onea in an atwood machine suppose two objects of</a></b></span></h3> <p> <span id="LeftSideControl1_RecentQuestion1_dlReviewList_lblContent_0">SECTION ONE (a) In an Atwood Machine, suppose two objects of unequal mass are hung vertically over a frictionless </span> </p> </div> </td> </tr><tr> <td> <div class="innertranspoitation2"> <h3><span id="LeftSideControl1_RecentQuestion1_dlReviewList_lblTitle_1"><b><a href='http://www.mywordsolution.com/question/part-1you-work-in-hr-for-a-company-that-operates-a-factory/92089681' target='_balnk' class='que_link' >Part 1you work in hr for a company that operates a factory</a></b></span></h3> <p> <span id="LeftSideControl1_RecentQuestion1_dlReviewList_lblContent_1">Part 1: You work in HR for a company that operates a factory manufacturing fiberglass. There are several hundred empl</span> </p> </div> </td> </tr><tr> <td> <div class="innertranspoitation2"> <h3><span id="LeftSideControl1_RecentQuestion1_dlReviewList_lblTitle_2"><b><a href='http://www.mywordsolution.com/question/details-on-advanced-accounting-paperthis-paper-is-intended/92089680' target='_balnk' class='que_link' >Details on advanced accounting paperthis paper is intended</a></b></span></h3> <p> <span id="LeftSideControl1_RecentQuestion1_dlReviewList_lblContent_2">DETAILS ON ADVANCED ACCOUNTING PAPER This paper is intended for students to apply the theoretical knowledge around ac</span> </p> </div> </td> </tr><tr> <td> <div class="innertranspoitation2"> <h3><span id="LeftSideControl1_RecentQuestion1_dlReviewList_lblTitle_3"><b><a href='http://www.mywordsolution.com/question/create-a-provider-database-and-related-reports-and-queries/92089679' target='_balnk' class='que_link' >Create a provider database and related reports and queries</a></b></span></h3> <p> <span id="LeftSideControl1_RecentQuestion1_dlReviewList_lblContent_3">Create a provider database and related reports and queries to capture contact information for potential PC component pro</span> </p> </div> </td> </tr><tr> <td> <div class="innertranspoitation2"> <h3><span id="LeftSideControl1_RecentQuestion1_dlReviewList_lblTitle_4"><b><a href='http://www.mywordsolution.com/question/describe-what-you-learned-about-the-impact-of-economic/92089678' target='_balnk' class='que_link' >Describe what you learned about the impact of economic</a></b></span></h3> <p> <span id="LeftSideControl1_RecentQuestion1_dlReviewList_lblContent_4">Describe what you learned about the impact of economic, social, and demographic trends affecting the US labor environmen</span> </p> </div> </td> </tr><tr> <td></td> </tr> </table> </div> </div> <div class="clear"></div> </div> <div class="clear"></div> </div> </div> <div class="footer"> <div class="footerouter"> <div class="footerouter_inner"> <div class="footerouter_left"> <ul> <li> <div class="footerouter_left1"> <ul> <li><a href="http://www.mywordsolution.com/hire-expert/dbms/35/">DBMS</a></li> <li><a href="http://www.mywordsolution.com/hire-expert/c-cpp-programming/5/">C/C++</a></li> <li><a href="http://www.mywordsolution.com/hire-expert/java/8/">Java</a></li> <li><a href="http://www.mywordsolution.com/hire-expert/dotnet/9/">Dot Net</a></li> <li><a href="http://www.mywordsolution.com/hire-expert/python/10/">Python</a></li> <li><a href="http://www.mywordsolution.com/hire-expert/css-html/30/">CSS/HTML</a></li> <li><a href="http://www.mywordsolution.com/hire-expert/php/25/">PHP/Joomla </a></li> <li><a href="http://www.mywordsolution.com/hire-expert/assembly/11/">Assembly</a></li> <li><a href="http://www.mywordsolution.com/hire-expert/visual-basic/15/">Visual Basic</a></li> <li><a href="http://www.mywordsolution.com/category/programming/1/">Programming</a></li> </ul> </div> </li> <li> <div class="footerouter_left1"> <ul> <li><a href="http://www.mywordsolution.com/hire-expert/algorithms-design/46/">Algorithms Design</a></li> <li><a href="http://www.mywordsolution.com/hire-expert/automata-computation/48/">Automata & Computation</a></li> <li><a href="http://www.mywordsolution.com/hire-expert/computer-network-security/47/">Computer Network & Security</a></li> <li><a href="http://www.mywordsolution.com/hire-expert/operating-system/49/">Operating System</a></li> <li><a href="http://www.mywordsolution.com/hire-expert/software-engineering/53/">Software Engineering</a></li> <li><a href="http://www.mywordsolution.com/hire-expert/cryptography/70/">Cryptography</a></li> <li><a href="http://www.mywordsolution.com/hire-expert/data-structure/58/">Data Structure</a></li> <li><a href="http://www.mywordsolution.com/hire-expert/computer-graphics/55/">Computer Graphics</a></li> <li><a href="http://www.mywordsolution.com/hire-expert/data-communication/54/">Data Communication</a></li> <li><a href="http://www.mywordsolution.com/category/computer-science/2/">Computer Science</a></li> </ul> </div> </li> <li> <div class="footerouter_left1"> <ul> <li><a href="http://www.mywordsolution.com/category/accounting/3/">Accounting</a></li> <li><a href="http://www.mywordsolution.com/category/finance/4/">Finance</a></li> <li><a href="http://www.mywordsolution.com/category/economics/5/">Economics</a></li> <li><a href="http://www.mywordsolution.com/category/statistics/7/">Statistics</a></li> <li><a href="http://www.mywordsolution.com/category/management-studies/6/">Management</a></li> <li><a href="http://www.mywordsolution.com/category/academics/9/">Academics</a></li> <li><a href="http://www.mywordsolution.com/hire-expert/medical-education/143/">Medical Courses</a></li> <li><a href="http://www.mywordsolution.com/hire-expert/science/131/">Science</a></li> <li><a href="http://www.mywordsolution.com/category/engineering/8/">Engineering</a></li> <li><a href="http://www.mywordsolution.com/hire-expert/matlab/114/">MATLAB</a></li> </ul> </div> </li> <li> <div class="footerouter_left1"> <ul> <li><a href="http://www.mywordsolution.com/hire-expert/essay/132/">Essay Writing</a></li> <li><a href="http://www.mywordsolution.com/hire-expert/term-paper/133/">Term Papers</a></li> <li><a href="http://www.mywordsolution.com/hire-expert/thesis-research-proposal/134/">Thesis/Research</a></li> <li><a href="http://www.mywordsolution.com/hire-expert/case-study/140/">Case Studies</a></li> <li><a href="http://www.mywordsolution.com/hire-expert/dissertation/136/">Dissertation</a></li> <li><a href="http://www.mywordsolution.com/category/writing/10/">Other Writing</a></li> <li><a href="http://www.mywordsolution.com/hire-expert/homework-help/150/">Homework Help</a></li> <li><a href="http://www.mywordsolution.com/hire-expert/humanities/127/">Humanities</a></li> <li><a href="http://www.mywordsolution.com/hire-expert/social-studies/149/">Social Studies</a></li> <li><a href="http://www.mywordsolution.com/hire-expert/exam-preparation/145/">Exam Preparation</a></li> </ul> </div> </li> <div class="clear"></div> </li> </ul> </div> <div class="footerouter_right"> <div class="footerouter_right0"> <div class="footerpayment"> <div class="footerpaymentscur"></div> <div class="footerpaymentscard"> <ul> <li class="footerpaymentscard1"></li> <li class="footerpaymentscard2"></li> <li class="footerpaymentscard3"></li> <li class="footerpaymentscard4"></li> </ul> </div> </div> <div class="footerouter_right1"> <h2>Follow Us</h2> <ul> <li class="fb"><a href="http://www.facebook.com/Mywordsolution" rel="nofollow" target="_blank"></a></li> <li class="twt"><a href="http://www.twitter.com/Mywordsolution" rel="nofollow" target="_blank"></a></li> </ul> <div class="clear"></div> </div> </div> </div> <div class="clear"></div> </div> </div> <div class="footerbottom"> <div class="footerbottom_inner"> <ul> <li><a href="http://www.mywordsolution.com/">Home</a></li> <li><a href="http://www.mywordsolution.com/about-us.aspx">About Us</a></li> <li><a href="http://www.mywordsolution.com/blog/">Blog</a></li> <li><a href="http://www.mywordsolution.com/faqs.aspx">FAQs</a></li> <li><a href="http://www.mywordsolution.com/ask-question.aspx">Assignment Help</a></li> <li><a href="http://www.mywordsolution.com/contactus.aspx">Contact Us</a></li> <li><a href="http://www.mywordsolution.com/questions/archive/">Q&A</a></li> <li><a href="http://www.mywordsolution.com/refund-policy.aspx">Refund Policy</a></li> <li><a href="http://www.mywordsolution.com/privacy-policy.aspx">Privacy Policy</a></li> <li><a href="http://www.mywordsolution.com/terms-and-conditions.aspx">T & C </a></li> <li><a href="http://www.mywordsolution.com/disclaimer-policy.aspx">Disclaimer Policy</a></li> <li><a href="http://www.mywordsolution.com/copyright-notice.aspx">Copyright Notice</a></li> </ul> <div class="clear"></div> <p>© Copyright 2013-14 <span>mywordsolution.com</span> All rights reserved </p> <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-38762144-1']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script> <!--Start of Tawk.to Script--> <script type="text/javascript"> var $_Tawk_API={},$_Tawk_LoadStart=new Date(); (function(){ var s1=document.createElement("script"),s0=document.getElementsByTagName("script")[0]; s1.async=true; s1.src='https://embed.tawk.to/5584638c0ed4869955a0dce2/default'; s1.charset='UTF-8'; s1.setAttribute('crossorigin','*'); s0.parentNode.insertBefore(s1,s0); })(); </script> <!--End of Tawk.to Script--> </div> </div> </div></form> </body> </html>