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.

JavaScript get element by name

Consider this function: function validate() { var acc = document.getElementsByName('acc').value; var pass = document.getElementsByName('pass').value; alert (acc); } And …

javascript html dom
Setting table row height

I have this code: <table class="topics" > <tr> <td style="white-space: nowrap; padding: 0 5px 0 0; color:#3…

html css
How to fix height of TR?

Is it possible to fix the height of a row (tr) on a table? The problem appears when I shrink …

html html-table row
Easier way to create circle div than using an image?

I'm wondering if there's an easier way to create circular divs than what I'm doing now. Currently, I am just …

html css geometry css-shapes
How can I "disable" zoom on a mobile web page?

I am creating a mobile web page that is basically a big form with several text inputs. However (at least …

html css mobile
Scroll to bottom of Div on page load (jQuery)

I have a div on my page: <div id='div1' style='overflow:scroll;overflow-x:hidden;max-height:200px;'&…

jquery html
DISABLE the Horizontal Scroll

Ok for some reason my webpage scrolls from left to right and shows a lot of ugly space. I have …

html css
Landscape printing from HTML

I have a HTML report, which needs to be printed landscape because of the many columns. It there a way …

html css printing
CSS technique for a horizontal line with words in the middle

I'm trying to make a horizontal rule with some text in the middle. For example: ----------------------------------- my title here ----------------------------- …

html css cross-browser
Which characters need to be escaped in HTML?

Are they the same as XML, perhaps plus the space one (&nbsp;)? I've found some huge lists of HTML …

html html-entities html-encode html-escape-characters