Question

In: Computer Science

JavaScript. Create a Web page with the following features: Three lines of text about anything. A...

JavaScript.



Create a Web page with the following features:

Three lines of text about anything.

A link to OCC (http://www.orangecoastcollege.edu) that opens in a new browser window.

An image link (graphical link).

A link to the top of the page.

A graphical link to your email.

Formatted text throughout the page.

Horizontal lines

Solutions

Expert Solution

The code for your assignment is given below. Make sure you use proper path of your image files used in the document.

**********************mypage.html******************************

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>My webpage</title>

<style></style>
<script>

   function myFunction(){
       window.open("http://www.orangecoastcollege.edu")
   }

</script>

</head>

<body>

<p onclick="myFunction()" onmouseover="" style="cursor: pointer; color:blue"><i>click here to visit OCC</i></p>
<div align="center">
<h2><u>Welocome to my WebPage</u></h2>
<p><q>Twenty years from now you will be more disappointed by the things that
you didn’t do than by the ones you did do.</q><mark>Mark Twain</mark><p>
<hr>
<p><q>I can’t give you a sure-fire formula for success, but I can give you
a formula for failure: try to please everybody all the time.</q><mark>Herbert Bayard Swope</mark><p>
<hr>
<p><q>My mind is like my web browser. 19 tabs are open, 3 are frozen and
I have no idea where the music is coming from</q><mark>Anonymous</mark><p>
<hr>
<p><q>Lorem ipsum dolor sit amet, consectetur adipiscing elit,
    sed do eiusmod tempor incididunt ut labore et dolore magna aliqua</q><p>
<hr>
<h3><mark>Click on email Logo to mail us:</mark></h3>
<hr>
<a href="mailto:[email protected]">
<img src="emailLogo.png" height=40% width=40% >
</a>.<br> <br>

<a href="#top">
<img src="up.png" height=100px width=100px >
</a>.<br>
<p><i>click logo to move to top</i></p>

</div>

</body>
</html>


Related Solutions

Using Javascript Create a page places an order for a Calzone: Using Text box to get...
Using Javascript Create a page places an order for a Calzone: Using Text box to get customers Name Radio Buttons for sizes: small, medium, large list for type of crust: crispy, soft, hard check boxes for toppings, with at least 3 to be selected Submit button that displays the order information.
Create a Web page about yourself containing the following: Notepad++ The page should have a light...
Create a Web page about yourself containing the following: Notepad++ The page should have a light green background and a one inch margin. The Web page should contain: At least three headings, h1 to h3. At least two paragraphs about you. A numbered list with at least three hyperlinks. The hyperlinks cannot be the ones we created in class today which were the links to Yahoo and Google. Two horizontal rules. All the h1, h2, and h3 tags should have...
Using JavaScript, create a simple web page that will take orders for Chess Org. Chess Org...
Using JavaScript, create a simple web page that will take orders for Chess Org. Chess Org sells yearly membership for $30 each. Discounts are given for buying in bulk (see Table 1 and example below). Table 1 – Discounts Quantity Purchased Discount 1 – 29 0% 30 - 59 10% 60 + 15% Example: If a customer purchases 40 family membership, their total price (CTotal) would be: COriginalPrice = 30*40=1200 DMainDiscount = 1200*0.1=120 CTotalPrice = COriginalPrice - DMainDiscount= 1200-120 =...
Create a Web page about a book ( The Richest Man in Babylon) that includes the...
Create a Web page about a book ( The Richest Man in Babylon) that includes the following: -page title -a meta keywords tag with at least (5) keywords -a meta description tag -a meta robots tag to allow indexing, but not permit crawling of the site Also, provide 1-2 paragraphs of content with three relevant text links.
In this assignment you will create a web page about your favorite sports to play or...
In this assignment you will create a web page about your favorite sports to play or teams to watch. If you don’t watch or play sports, please make up your favorite sports to play or teams to watch. You will be incorporating images into your web page, as well as other concepts learned in this unit. Create an external style sheet using a text editor of your choosing. In the CSS file add the following style rules: A background image...
Create a web page that contains a simple math test. The page should have the following...
Create a web page that contains a simple math test. The page should have the following arithmetic problems. Add a button under each problem which, when clicked, will display a prompt for the user to enter the answer. Add a swcond button which, when clicked, will check to see if the user's answer is correct. The output should be either "correct" or "incorrect" displayed in an alert box. 1. 5+9= 2. 4*6= 3. 25-14= 4. 48/3= 5. 26%6=
Define Internet, Web, HTML, Javascript, Web Page, Ecommerce, and Internet Service Provider ISP) in your own...
Define Internet, Web, HTML, Javascript, Web Page, Ecommerce, and Internet Service Provider ISP) in your own words in one essay.
Create a Web Page Using HTML, CSS, JS, jQuery • Create a web profile, including any...
Create a Web Page Using HTML, CSS, JS, jQuery • Create a web profile, including any of the following: • Your hobbies, likes/dislikes, career aspirations, dream job, favorite animals/ pets, favorite superhero, etc. • You do not have to share personal information that you are uncomfortable with sharing. Follow these guidelines when creating your page: • Include at least one heading (h1, h2, etc.) in your web page. • Provide a quote from a book, movie, etc. • Include at...
9. Create a Web page about your favorite musical group. Include the name of the group,...
9. Create a Web page about your favorite musical group. Include the name of the group, the individuals in the group, a hyperlink to the group’s Web site, your favorite three (or fewer if the group is new) CD releases, and a brief review of each CD. ● Use an unordered list to organize the names of the individuals. ● Use a definition list for the names of the CDs and your reviews. I would like it on Pink Floyd...
1 -​Create the code to generate a default web page. The contents of this page should...
1 -​Create the code to generate a default web page. The contents of this page should be Your​​Name, right justified
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT