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/programming-project-sorting-to-find-anagramssee-project-4/92071138' target='_balnk' class='que_link' >Programming project sorting to find anagramssee project 4</a></b></span></h3> <p> <span id="dlReviewList_lblContent_0">Programming Project Sorting to find anagrams See Project 4 on pg. 869 for the basic ideas of this project. We will find the longest anagrams in the words.txt provided in the Chapter 13 files on the author's website. 1. F ...</span> </p> </div> </td> </tr><tr> <td> <div class="innerquestionsgtr"> <h3> <span id="dlReviewList_lblTitle_1"><b><a href='http://www.mywordsolution.com/question/assignmenteagle-airlines-has-contracted-you-to-implement-a/92076320' target='_balnk' class='que_link' >Assignmenteagle airlines has contracted you to implement a</a></b></span></h3> <p> <span id="dlReviewList_lblContent_1">Assignment Eagle Airlines has contracted you to implement a basic airline ticketing system for passengers. Your program will allow the application's user to enter the information associated with each passenger. The ticke ...</span> </p> </div> </td> </tr><tr> <td> <div class="innerquestionsgtr"> <h3> <span id="dlReviewList_lblTitle_2"><b><a href='http://www.mywordsolution.com/question/assignmenta-talent-competition-has-5-judges-each-of-whom/92063120' target='_balnk' class='que_link' >Assignmenta talent competition has 5 judges each of whom</a></b></span></h3> <p> <span id="dlReviewList_lblContent_2">Assignment A talent competition has 5 judges, each of whom awards a score Resolved Question: A talent competition has 5 judges, each of whom awards a score between 0 and 10 to each performer. Fractional scores, such as 8 ...</span> </p> </div> </td> </tr><tr> <td> <div class="innerquestionsgtr"> <h3> <span id="dlReviewList_lblTitle_3"><b><a href='http://www.mywordsolution.com/question/for-each-of-the-following-c-assignment-statementsa-x--a-/92070557' target='_balnk' class='que_link' >Fr each of the following c assignment statementsa x a </a></b></span></h3> <p> <span id="dlReviewList_lblContent_3">For each of the following C assignment statements a) x = a + b*c; b) x = a/(b+c) - d*(e+f); c) x = a[i] + 1; d) a[i] = b[c[i]]; e) a[i][j] = b[i][k] + c[k][j]; f) *p++ = *q++; generate three-address code, assuming that a ...</span> </p> </div> </td> </tr><tr> <td> <div class="innerquestionsgtr"> <h3> <span id="dlReviewList_lblTitle_4"><b><a href='http://www.mywordsolution.com/question/suppose-the-heap-consists-of-exactly-the-nine-cars-on-three/92070612' target='_balnk' class='que_link' >Suppose the heap consists of exactly the nine cars on three</a></b></span></h3> <p> <span id="dlReviewList_lblContent_4">Suppose the heap consists of exactly the nine cars on three trains shown in given figure (i.e., ignore the ellipses). Object o in car 11 has references from cars 12, 23, and 32. When we garbage collect car 11, where migh ...</span> </p> </div> </td> </tr><tr> <td> <div class="innerquestionsgtr"> <h3> <span id="dlReviewList_lblTitle_5"><b><a href='http://www.mywordsolution.com/question/assignmentgoalsto-learn-about-separate-compilation-classes/92078979' target='_balnk' class='que_link' >Assignmentgoalsto learn about separate compilation classes</a></b></span></h3> <p> <span id="dlReviewList_lblContent_5">Assignment Goals To learn about separate compilation, classes, and vector manipulation. Your Assignment In this assignment the main has been written for you in the file phone_book_main.cpp. You will also notice that a cl ...</span> </p> </div> </td> </tr><tr> <td> <div class="innerquestionsgtr"> <h3> <span id="dlReviewList_lblTitle_6"><b><a href='http://www.mywordsolution.com/question/computer-science-assignmnetuse-this/92078843' target='_balnk' class='que_link' >Computer science assignmnetuse this Computer Science Assignmnet use this program</a></b></span></h3> <p> <span id="dlReviewList_lblContent_6">Computer Science Assignmnet use this program http://snap.berkeley.edu/snapsource/snap.html# The assignment is to create a block to simulate coin tosses in snap. The block should take in 2 parameters, the number of coin t ...</span> </p> </div> </td> </tr><tr> <td> <div class="innerquestionsgtr"> <h3> <span id="dlReviewList_lblTitle_7"><b><a href='http://www.mywordsolution.com/question/programming-assignmentdescription-your-algorithm-first/92064624' target='_balnk' class='que_link' >Programming assignmentdescription your algorithm first</a></b></span></h3> <p> <span id="dlReviewList_lblContent_7">Programming Assignment Description: Your algorithm first takes an input size (N) from the user and generates a random sequence of N integers ranging from -99999 to 99999. If N is less than 50, your program must print the ...</span> </p> </div> </td> </tr><tr> <td> <div class="innerquestionsgtr"> <h3> <span id="dlReviewList_lblTitle_8"><b><a href='http://www.mywordsolution.com/question/in-this-lab-you-will-write-a-program-that-simulates-the/92075590' target='_balnk' class='que_link' >In this lab you will write a program that simulates the</a></b></span></h3> <p> <span id="dlReviewList_lblContent_8">In this lab you will write a program that simulates the dialing of a phone number. The phone number may have either digits, letters, or both. (See sample output below) Here are the letters associated with each digit. 0 5 ...</span> </p> </div> </td> </tr><tr> <td> <div class="innerquestionsgtr"> <h3> <span id="dlReviewList_lblTitle_9"><b><a href='http://www.mywordsolution.com/question/create-a-class-named-order-that-performs-order-processing/92064971' target='_balnk' class='que_link' >Create a class named order that performs order processing</a></b></span></h3> <p> <span id="dlReviewList_lblContent_9">Create a class named Order that performs order processing of a single item. The class has the following five fields: Customer name Customer number Quantity ordered Unit price Total price Include set and get methods for e ...</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>