Set the base target of the Web page to new so that links on the page open, by de
ID: 3785290 • Letter: S
Question
Set the base target of the Web page to new so that links on the page open, by default, in a new browser window or tab. Go to the page body, and then directly below the header element insert a navigation list with the following content: An h2 heading with the text News Sources An unordered list containing the following entries: Yahoo! News, FOX News, CNN, MSNBC, Google News, New York Times, dig, Washington Post, LATimes, Reuters, ABCNews, and USA Today. Look up the Web addresses of the 12 news sources and link your list entries to the appropriate Web sites. Set the rel attribute of each link to external. Scroll down to the last paragraph before the figure box and link the text Secretary of State to the Office of the Kansas Secretary of State Web site. Directly below the figure box, create an image map named kansasdistricts containing four polygonal hotspots for each of the four Kansas congressional districts. Use the coordinates found in the dcoords.txt file as the coordinates of the hotspots. Set the hotspots in your image map to access the district 1.htm, district2.htm, districts3. htm, and district4.htm files, using the target attribute value of self so that those Web pages open within the current browser window or tab. Apply the Kansas districts image map to the kansasmap.png inline image. Save your changes to the file. Go to the district1.htm file in your text editor. Directly below the opening tag, insert a navigation list containing an unordered list with the items District 1, District 2, District 3, and District 4. Link each entry to its corresponding Web page in the ElectionWeb Web site. Scroll down to the last paragraph before the figure box and link the text statewide races to the kansas.htm file. Apply the same image map you created in Step 7 for the kansas.htm file to the kansasmap.png inline image. Save your changes to the file. Open the district2.htm, district3.htm and district4.htm files in your text editor and repeat Steps 12 through 15 for each file. Open the kansas.htm file in your Web browser and verify that you can navigate through Allison's sample pages by clicking the hypertext links within the page body and within the image maps. Verify that you can access the external Web sites listed in the news sources and the Office of the Kansas Secretary of State. Submit your completed project to your instructor, in either printed or electronic form, as requested.Explanation / Answer
part 4)
We have <base target="_blank"> in html this force web site to open links in new tab
if you put this code in head section then every link in website will open in new tab.
if you put this inside in <a href .. tag , then only that link will opens in new tabs
code
<!DOCTYPE html>
<html>
<head>
<base target="_blank">
</head>
<body>
<a href="http://www.nutriler.com">Nutriler</a>
<br>
<a href="http://google.com">Google</a>
</body>
</html>
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.