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.

Pick images of root folder from sub-folder

Let's say following is the directory structure of my website : Now in index.html I can simply refer images like: &…

html reference directory src subdirectory
Html table tr inside td

I am trying to create a table in HTML. I have the following design to create. I had added a &…

html html-table
How to center text vertically with a large font-awesome icon?

Lets say I have a bootstrap button with a font-awesome icon and some text: <div> <i class=…

html css font-awesome
How to remove .html from URL?

How to remove .html from the URL of a static page? Also, I need to redirect any url with .html …

html .htaccess
How to show disable HTML select option in by default?

I am new to HTML and PHP and want to achieve a drop-down menu from the mysql table and hard-coded …

html html-select
Why is there an unexplainable gap between these inline-block div elements?

I have two inline-block div elements, that are the same, positioned next to eachother. However there seems to be a …

html css margin padding
How to resize Twitter Bootstrap modal dynamically based on the content

I have database content which has different types of data, such as Youtube videos, Vimeo videos, text, Imgur pictures, etc. …

javascript jquery html css twitter-bootstrap
Border length smaller than div width?

I have following code div { width:200px; border-bottom:1px solid magenta; height:50px; } DEMO The div width is 200px so …

html css
How do I make the scrollbar on a div only visible when necessary?

I have this div: <div style='overflow:scroll; width:400px;height:400px;'>here is some text</…

css html scrollbar
What is syntax for selector in CSS for next element?

If I have a header tag <h1 class="hc-reform">title</h1> h1.hc-reform{ float:left; font-size:30…

html css css-selectors siblings