Category "html"

The "MailTo" ...setting a proper name on the Recipient

How do I set a proper name for the recipient when in HTML I want to use the "mailto" tag. Something like: mailto:"John Wayne([email protected])?subject.. How do

Processing does not show up in webpage

I have a processing program which I want to display on a browser in an html file. I found an instruction on https://cs.nyu.edu/~kapp/cs101/processing_on_the_web

Javascript detect if child of parent element has a class set

This is my code: <div id="main"> <div class="myclass"></div> </div> How can I detect if inside of maindiv there is an element

How can we protect our image being copied from our web site

How can we protect our image being copied from our web site? Can we disable copying image content from our website or any?

Can't define cell height with word-wrap

I would like make the table with auto word-wrap when it possible. I'm using white-space: pre-line; css-class property. But then cell height will be changed. See

Lazyload images in three CSS3 columns

I have a website which displays images in three columns. These are all img tags in a div which has column-count: 3 applied. These columns contain over a hundre

Pandoc cannot find image path referenced in external HTML file pulled into R Markdown, despite using here() package

I am producing an HTML document through R Markdown, which uses a few external HTML documents for headers and footers. I am also using the here() package to allo

IE11: Printing infinite pages

Basically, in IE11, when you try to print preview (or print, for that matter) this page (and a few others on this site), the page never renders in the preview p

What happens if I don't put a <!DOCTYPE html> in my code? Will it make any major changes?

I'm working on several projects with HTML, and sometimes I forget to put <!DOCTYPE html>. Will it make any big or noticeable changes?

how add audio in html5 with base64 encoding

i have a string it is audio record in base64 encoding and in wav format(i have data link - {{vm.record}}). I need add audio player in widget( which had writte

Why doesn't this JavaScript code(embedded as an HTML attribute)work?

Why doesn't this work? <button onclick = "function(){alert('Hello');}">press me</button> while this does: <button onclick = "alert('Hello')

How to make some text between two lines?

Hi I have some text and a line. I need to make the picture look like this: In my HTML code it looks like this: <div class="container"> <div class=

Post Form Data To phpmyadmin Database

I need to post data from a website (HTML5 based) to a database on PHPMyAdmin. I have the database created as sewcute and a table named members. I'm using XAMMP

How to set larger column's height equal to small one in pure css?

I'm trying to make 2 divs with the same height: http://image.prntscr.com/image/32ca3f340fba4e2dbd3c7d1e434f0938.png <div class="parent"> <div class="

I want to disable browsers back button, i have tried a code which is working for internet explorer but facing problem in chrome

It is working good in internet exlporer but in chrome it works only if the user clicks on somewhere in the page i.e., works only when the user gives a click on

HTML and PHP in one file

I'm a PHP newbie trying to sort some basics out. I have a user-form that leads to a mysql select query, which works fine. Every tutorial I have found so far has

Open new page using if else statement to check to see if an html form element is equal to a certain word

How do I open new page using an if else statement to check to see if an html form element is equal to a certain word or phrase. Basically, I have a form and if

Border not covering whole site - elements out of flow?

Problem: https://postimg.cc/image/tunhwh8qj/ The trouble I am currently having is that the border around my body is not outlining everything. As I have recently

How to get list of Css class use in the HTML file?

I need list of classes used in an html file. Is there any tool where i can get list of classes in the HTML file?

Line Spacing for Individual Fonts

I'm using custom fonts in WordPress. I do it by defining font family. I'm having problem if line spacing with One if my fonts. If I use line-height code in my