answersLogoWhite

0

Give one example of an HTML page?

User Avatar

Anonymous

14y ago
Updated: 8/17/2019

<HTML>

<title>This is an HTML page!</title>

<style type="text/css">

body {

background-color: #00FF00;

color: #FF00FF;

font-size: 28px;

font-family: Arial, sans-serif;

}

#text1 {

font-size: 32px;

}

#text2 {

font-size: 36px;

}

</style>

<script type="text/javascript">

function go() {

var name=prompt("What is your name?", "Enter your name here...");

alert ("Hello "+name+"!");

}

</script>

<body>

Hello

<p id="text1">Please click on the button below</p>

<p><button onclick="go()">Please click on me</button></p>

<p id="text2">This was a fun HTML page...Hope you enjoyed it</p>

</body>

</HTML>

You can go to View-Page Source and get the HTML for the page

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

How do you link an image on one HTML page to another HTML page?

To link an image on one HTML page to another HTML page, you can use an anchor (&lt;a&gt;) tag wrapping the &lt;img&gt; tag. For example: &lt;a href=&quot;target-page.html&quot;&gt; &lt;img src=&quot;image.jpg&quot; alt=&quot;Description of Image&quot;&gt; &lt;/a&gt; In this code, clicking the image will navigate the user to &quot;target-page.html&quot;. Remember to replace &quot;image.jpg&quot; and &quot;target-page.html&quot; with the actual paths to your image and target HTML file.


How do you link one HTML page to another?

Using an achor text like click here, etc. In HTML, it is the tag. For example, you want your site visitors to move from index to contact page:Contact Page - Click Here


What is the different parts of HTML?

A HTML page can be divided into various sections. The head part of the page and the body part are the main one.


What and why is it used HTML?

HTML = Hypertext Markup LanguageIt is used to make web pages. The browser reads the HTML markup, and creates the page you see in your browser.There are other languages in use on the internet, for example Flash (for animation) and PDF (for downloadable documents), but HTML is the one language that ties all the others together.You can see an HTML example by finding the option "view source" in your browser (normally by right-clicking anywhere on the page), it will show you the code used to create the page you are looking at now.If you wish to learn HTML, see the related link to W3SchoolsHTML is used for the creation of web. The web pages that we see are mostly created using HTML.


Which person discovered HTML?

No one discovered HTML. Follow the link below to the wikipedia page.


How will you pass values from HTML page to the servlet?

we are passing values from the HTML to the Servlet by using HTML controls. ex:name,password.......... In servlets we have one method for getting the values from HTML is getParameter() example: String s1=req.getParameter("T1"); String s2=req.getParameter("T2"); in above example T1,T2 are the names of the HTML controls, String is a class and req is the object of the HttpServlet.


How do you post HTML program?

A HTML Program is one used to create a web page. It is used to post on server to make the web page live.


What is static HTML pages?

A static page is one that has nothing but straight HTML coding (maybe with CSS, but not necessary) and does not depend on the server to build the page.


Is there an HTML code that is on one page and has one link that will go to a different page based on the link you clicked on?

yes


What character is used to indicate an end tag in HTML?

The frontslash tag. For example, here it is used in the bold tag. &lt;b&gt;Bold text&lt;/b&gt;


How would you define span in HTML?

Span is one of the tag of HTML. It alters the style of written text in the web page.


How do to create a static webpage with only one image as background?

Use html only and that should give you a static page. You can put image as background by using css