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 do I get my page title to have an icon?

I would like to have my site’s logo shown in the icon area of the title rather than the …

html icons
How to store arbitrary data for some HTML tags

I'm making a page which has some interaction provided by javascript. Just as an example: links which send an AJAX …

javascript html
Padding a table row

<html> <head> <title>Table Row Padding Issue</title> <style type="text/…

html css html-table row padding
How to set HTML5 required attribute in Javascript?

I am trying to mark a text input box as required in Javascript. <input id="edName" type="text" id="…

javascript html validation
Encode html entities in javascript

I am working in a CMS which allows users to enter content. The problem is that when they add symbols ® , …

javascript html
Find the closest ancestor element that has a specific class

How can I find an element's ancestor that is closest up the tree that has a particular class, in pure …

javascript html dom
How to make Bootstrap carousel slider use mobile left/right swipe

DEMO JSSFIDDLE <div class="col-md-4"> <!--Carousel--> <div id="sidebar-carousel-1" class="carousel slide" data-ride="carousel"> &…

jquery html css twitter-bootstrap-3 carousel
how to pass this element to javascript onclick function and add a class to that clicked element

I had an html navigation code as below so from the above code what i am trying to do is, …

javascript jquery html onclick
How to get all selected values from <select multiple=multiple>?

Seemed odd I couldn't find this one already asked, but here it goes! I have an html as follows: <…

javascript jquery html
How does Content Security Policy (CSP) work?

I'm getting a bunch of errors in the developer console: Refused to evaluate a string Refused to execute inline script …

javascript html security http-headers content-security-policy