answersLogoWhite

0


Best Answer

It is not possible to do it with HTML alone, you have to use Javascript, PHP or another scripting language that has the time as a built in function.

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you show dynamic time in a HTML page?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What is a static page?

It is a page that does not change. Its content is therefore static. The opposite would be a dynamic page, where content is regularly changing.


What is the difference between HTML and DHTML?

HTML (Hyper Text Markup Language) is the most widely accepted language used to build websites. It is the main structure of a website. It builds tables, creates divisions, gives a heading message (In the title bar of programs), and actually outputs text. XHTML (eXtensive Hyper Text Markup Language) is the same as HTML, except it has a cleaner syntax. XHTML uses the same tags as HTML, so people who know HTML know messy XHTML. New rules apply in XHTML, such as tags always needing to be ended; Tags need to be "Nested" properly, and such. dHTML (Dynamic Hyper Text Markup Language) is not a language, but the art of using HTML, JavaScript, and CSS together to create dynamic things, such as navigation menus.


When a client requests a dynamic webpage the HTML is generated by?

Most of the time by some kind of backend technology, like PHP, ASP, or JSP. Perl is still around. Ruby's available. But dynamic pages normally require database connectivity to operate, and so you need a programmer and a language with more punch than HTML or Javascript.


What is a WYSIWYG editer?

A WYSIWYG (What You See Is What You Get) editor allows a web page creator to visually move elements around on a rendered page, rather than writing raw HTML code and using a browser to render it. Obviously, the level of skill required when instant feedback is available is significantly less than if one were to write HTML code, as the editor removes the need for the HTML/CSS code to be interpreted by the author at the time the page is created. Some WYSIWYG editors are so good at producing good HTML, that they can be employed by individuals with no HTML/CSS experience whatsoever and achieve good, valid HTML that does as the user intended.


What is Difference between static and dynamic website?

Static WebsitesStatic means "constant--never changing". A static website contains Web pages with fixed content. Each page is coded in HTML and displays the same information to every visitor.Dynamic Websitesdynamic is "changing". You can make dynamic changes to a database without having to shutdown the instance and restart for the changes to take effect. However, if you do not update the control file, when you shutdown and startup, the dynamic change is gone--it wasn't permanent.A site whose construction is controlled by an application server processed by server side scripts.

Related questions

What is a static HTML file?

Static HTML vs Dynamic HTML. Static HTML is a web document(s) that show the same information for all users. It can be updated from time to time but shows the same information to each and every user. Dynamic HTML is a web document that shows different information per user due to factors such as a search. This web page will vary depending on information passed to it.


How could you make some text in an HTML page change with time?

You could make an application that would run automatically on your server / computer, that would edit only a certain part of an HTML page. This application would be ran automatically over time. You could also use Javascript, or something of the like, to dynamicly change the text of a page - however, this does not directly effect the source code of the HTML page. Otherwise, you cannot change HTML over time - HTML does not have any dynamic functions that can tell time.


What is the primary agent for dynamic?

The primary agent for dynamic content on websites is typically JavaScript, which allows for interactive and real-time updates without requiring a page reload. It can be used to dynamically modify HTML elements, handle user input, and communicate with servers to fetch or send data.


What is a static page?

It is a page that does not change. Its content is therefore static. The opposite would be a dynamic page, where content is regularly changing.


When viewing your page in a browser how do you view the HTML mark up?

It depends on the browser, but most of the time, you view the HTML markup by right-clicking the page and clicking "View source" or "View page source".


How is static webpage is diffrent from the dynamic webpage?

HTML was the first tool with which people had begun to create web pages in past times. HTML is a language that stylizes text, generate paragraphs and line breaks etc. However the most imperative thing that it does is link creation. Pages created with HTML are static pages because they remain the same for all the time to come -until and except you change them yourself. With scripting language -you can add a bit of dynamic element in static pages. For example, with JavaScript you can make a random number display every time a web page loads in browser. But even such pages are called static pages. If you go to an online shopping website and see the product list -there are high chances that you'll be looking as dynamic web pages. Such web pages have two main components; Style of the page and information. Style of the page is created with tools like HTML, CSS, and JavaScript while the information is stored unconnectedly in a database. When a dynamic page loads in browser -it requests the database to furnish information depending upon user's choice. When the page receives this information from database -the styling code gets applied on it and the resulting web page is displayed to the user.


How do you display the date and time using HTML?

HTML can't get the time for you, so the best way to do it is to use Javascript inside your page, like this: <script language="javascript"> <!-- today = new Date(); document.write("<BR>The time now is: ", today.getHours(),":",today.getMinutes()); document.write("<BR>The date is: ", today.getDate(),"/",today.getMonth()+1,"/",today.getYear()); //--> </script> Copy and paste that into your web page code. It will show you the date and time.


How do you make HTML show current time?

You can not do this with HTML alone you need either Javascript, PHP or another scripting language that has the time as a built in function


What is the difference between HTML and DHTML?

HTML (Hyper Text Markup Language) is the most widely accepted language used to build websites. It is the main structure of a website. It builds tables, creates divisions, gives a heading message (In the title bar of programs), and actually outputs text. XHTML (eXtensive Hyper Text Markup Language) is the same as HTML, except it has a cleaner syntax. XHTML uses the same tags as HTML, so people who know HTML know messy XHTML. New rules apply in XHTML, such as tags always needing to be ended; Tags need to be "Nested" properly, and such. dHTML (Dynamic Hyper Text Markup Language) is not a language, but the art of using HTML, JavaScript, and CSS together to create dynamic things, such as navigation menus.


Dynamic Website Development?

form_title=Dynamic Website Development form_header=Keep your website fresh with dynamic website development. Hire a professional today! What do you need the website to accomplish?=_ What do you want the website design to include?=_ When is the deadline for the website?=_ How often do you want the content on the website updated?=_


Is php static or not?

PHP is a dynamic, server-side, web scripting language. It is capable of making connections to a database, and storing information to that database as well as reading queries form the DB. This means that PHP allows for the creation of dynamic web pages that change over time, as opposed to static HTML pages that are rewritten once and do not change without intervention by the page owner.


When a client requests a dynamic webpage the HTML is generated by?

Most of the time by some kind of backend technology, like PHP, ASP, or JSP. Perl is still around. Ruby's available. But dynamic pages normally require database connectivity to operate, and so you need a programmer and a language with more punch than HTML or Javascript.