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 line-break from css, without using <br />?

output: hello How are you code: <p>hello <br> How are you </p> How …

html css
Bootstrap NavBar with left, center or right aligned items

In Bootstrap, what is the most platform-friendly way to create a navigation bar that has Logo A on the left, …

html css twitter-bootstrap bootstrap-4 navbar
How to call a PHP function on the click of a button

I have created a page called functioncalling.php that contains two buttons, Submit and Insert. I want to test which …

php html htmlbutton
How to make a vertical line in HTML

How do you make a vertical line using HTML?

html css
How to run a function when the page is loaded?

I want to run a function when the page is loaded, but I don’t want to use it in …

javascript html onload
Can I have an onclick effect in CSS?

I have an image element that I want to change on click. <img id="btnLeft"> This works: #btnLeft:…

html css onclick
Set the table column width constant regardless of the amount of text in its cells?

In my table I set the width of the first cell in a column to be 100px. However, when the …

html css column-width
How to align checkboxes and their labels consistently cross-browsers

This is one of the minor CSS problems that plagues me constantly. How do folks around Stack Overflow vertically align …

html css cross-browser alignment forms
How to set HTTP header to UTF-8 using PHP which is valid in W3C validator?

I have several PHP pages echoing out various things into HTML pages with the following code. <meta http-equiv="Content-type" …

php html http-headers
Selecting element by data attribute

Is there an easy and straight-forward method to select elements based on their data attribute? For example, select all anchors …

jquery html custom-data-attribute