Skip to content
Advertisement

Tag: html

How to add anchor tag to a URL from text input

I want to be able to take user inputted text in a comment field and check for URL type expression, and if it exists, add an anchor tag (to url) when the comment is displayed. I am using PHP on the server-side, and Javascript (with jQuery) on client, so should I wait to check for URL until right before it

[HTML/CSS/JavaScript/PHP]: In which order code must be written?

While writing code in a file that would comprise of PHP, HTML, CSS & JavaScript, in what order each must appear? What are the best practices for separating the presentation and the logic? Sometimes external .js and other files are using in the link tag. Where these link tags must appear? Answer This doesn’t answer the question directly but the

is it possible to make “beep” sound in php like in gmail

for an IM script i am making, i would like the computer to beep like in gmail everytime there is a new message. is there a script in php or html to make the computer beep? Thanks! Answer All you need to do is load a small flash movie that makes the sound, you can easily toggle it in your

Advertisement