Question

a) Assume you have the following XHTML on your site: <h1>Introduction</h1>. Modify this line so you can create a fragment link to jump to this heading from within the page. Further, write a link that jumps to the fragment you created.

b) Write the necessary XHTML to create the following list:

1. Go to store o Mik o Bread 2. Go home

c) Write the XHTML to create a radio button group as in the picture below

.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Answers are given below. If it helped, please rate the answer . Thank you.

Answer for a)

<h1 id = "intro">Introduction</h1>

We first give an id to the heading so that we can refer to it later. We
have used "intro" as the id of the heading. Now to jump to this heading,
we create an anchor element linking to its id (using a hash)

<a href = "#intro"> Jump to Introduction </a>

You can place this anchor tag anywhere in the page and clicking it will
take to the place of the heading

answer for b)

<ol>
<li>Go to store </li>
<ul>
<li> Milk </li>
<li> Bread </li>
</ul>
<li>Go home</li>
</ol>

answer for c)

form action="">
<input type="radio" name="time" value="AM">AM<br>
<input type="radio" name="time" value="PM" checked="checked">PM<br>

</form>

Just for you to actually see the output, you can copy the below code where I have put answers for b and c in a sample html file which you can open in a browser. Save the following in a file named test.html and open the same in a browser

<html>
<body>
<ol>
<li>Go to store </li>
<ul>
<li> Milk </li>
<li> Bread </li>
</ul>
<li>Go home</li>
</ol>


<form action="">
<input type="radio" name="time" value="AM">AM<br>
<input type="radio" name="time" value="PM" checked="checked">PM<br>

</form>
</body>
</html>

Add a comment
Know the answer?
Add Answer to:
a) Assume you have the following XHTML on your site: <h1>Introduction</h1>. Modify this line so you...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Create a website on a topic of your choosing. Site should include the following: Design: Site...

    Create a website on a topic of your choosing. Site should include the following: Design: Site Map (Task 7) Page-layout for each page (Task 8) Homepage . . o Title o Navigation Links o Footer o Minimum of 1 graphic 4 additional pages that are linked to home page o o o Navigation Links (link back to homepage) Minimum of 1 graphic per page Footer (matching homepage) CSS should be used for formatting visual aspects of site. Use either external...

  • Design an original, professional web site following the specifications listed below. This web sit...

    Design an original, professional web site following the specifications listed below. This web site will be for a business you plan to set up for yourself or for someone else. The following is a detailed list of the requirements for your web site. READ them carefully. Instructions - Web Site Requirements for the web site: General: You will thoroughly test all your pages in more than one browser. All links MUST work. All graphics must show on the page. All...

  • You need not run Python programs on a computer in solving the following problems. Place your...

    You need not run Python programs on a computer in solving the following problems. Place your answers into separate "text" files using the names indicated on each problem. Please create your text files using the same text editor that you use for your .py files. Answer submitted in another file format such as .doc, .pages, .rtf, or.pdf will lose least one point per problem! [1] 3 points Use file math.txt What is the precise output from the following code? bar...

  • The following are screen grabs of the provided files Thanks so much for your help, and have a n...

    The following are screen grabs of the provided files Thanks so much for your help, and have a nice day! My Java Programming Teacher Gave me this for practice before the exam, butI can't get it to work, and I need a working version to discuss with my teacher ASAP, and I would like to sleep at some point before the exam. Please Help TEST QUESTION 5: Tamagotchi For this question, you will write a number of classes that you...

  • could you please help me with this problem, also I need a little text so I...

    could you please help me with this problem, also I need a little text so I can understand how you solved the problem? import java.io.File; import java.util.Scanner; /** * This program lists the files in a directory specified by * the user. The user is asked to type in a directory name. * If the name entered by the user is not a directory, a * message is printed and the program ends. */ public class DirectoryList { public static...

  • use the information in chapter one to complete it ( in case you do not have...

    use the information in chapter one to complete it ( in case you do not have the book, i post a picture). write a few sentences in each box explaining the extent to which the statements in the left column apply to each of the theories. thank you! Themes and theories Constructivism (Piaget) Social constructivism (Vygotsky) Bioecological systems theory (Bronfenbrenner) nta The environment plays an important role in development Innate factors drive development Development follows a smooth continuous path ning...

  • Code is in C# Your instructor would like to thank to Marty Stepp and Hélène Martin...

    Code is in C# Your instructor would like to thank to Marty Stepp and Hélène Martin at the University of Washington, Seattle, who originally wrote this assignment (for their CSE 142, in Java) This program focuses on classes and objects. Turn in two files named Birthday.cs and Date.cs. You will also need the support file Date.dll; it is contained in the starter project for this assignment. The assignment has two parts: a client program that uses Date objects, and a...

  • CASE 20 Enron: Not Accounting for the Future* INTRODUCTION Once upon a time, there was a...

    CASE 20 Enron: Not Accounting for the Future* INTRODUCTION Once upon a time, there was a gleaming office tower in Houston, Texas. In front of that gleaming tower was a giant "E" slowly revolving, flashing in the hot Texas sun. But in 2001, the Enron Corporation, which once ranked among the top Fortune 500 companies, would collapse under a mountain of debt that had been concealed through a complex scheme of off-balance-sheet partnerships. Forced to declare bankruptcy, the energy firm...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT