Top "Html" questions

HTML (HyperText Markup Language) is the markup language for creating web pages and other information to be displayed in a web browser.

How to set a border for an HTML div tag

I am trying to define a border around a div tag in HTML. In some browsers the border does not …

html css border
How to completely remove borders from HTML table

My goal is to make an HTML page that is similar to a "photo frame". In other words, I want …

html css html-table background-image
Put icon inside input element in a form

How do I put an icon inside a form's input element? Live version at: Tidal Force theme

html css forms input icons
How to add onload event to a div element

How do you add an onload event to an element? Can I use: <div onload="oQuickReply.swap();" ></…

javascript html
how to make a whole row in a table clickable as a link?

I'm using Bootstrap and the following doesn't work: <tbody> <a href="#"> <tr> <td&…

html html-table bootstrap-4
How do I change the text of a span element using JavaScript?

If I have a span, say: <span id="myspan"> hereismytext </span> How do I use JavaScript …

javascript html
How do I make a text input non-editable?

So I have a text input <input type="text" value="3" class="field left"> Here is my CSS for …

html css html-input
Number input type that takes only integers?

I'm using the jQuery Tools Validator which implements HTML5 validations through jQuery. It's been working great so far except for …

jquery html validation jquery-tools
Do I use <img>, <object>, or <embed> for SVG files?

Should I use <img>, <object>, or <embed> for loading SVG files into a page …

html svg vector-graphics
New line in text area

<textarea cols='60' rows='8'>This is my statement one.\n This is my statement2</…

html textarea line-breaks