body (2,676)


HTML version choice

HTML version choice

When developing a new web based application which version of html should you aim for? EDIT: cool I was just attempting to get a feel from others I tend to use XHTML 1.0 Strict in my own work and Tran…


mailto link for large bodies

I have a page upon which a user can choose up to many differ paragraphs. When the link is clicked(or button), an email will open up and put all those paragraphs into the body of the email, address…


Can I use JavaScript to create a client side email?

I want to create a client side mail creator web page. I know the problems of using the mailto action in an html form(not standard, no default mail appication set on the client). But the web page isn…


Removing elements with Array.map in JavaScript

I would like to filter an array of items by using the map() function. Here is a code snippet: var filteredItems=items.map(function(item){if(...some condition...){ return item;}}); The problem is that…


How do I send a file as an email attachment using Linux command line?

I've created a script that runs every night on my Linux server that uses mysqldump to back up each of my MySQL databases to.sql files and packages them together as a compressed.tar file. The next step…


html - 100% Min Height CSS layout

What's the best way to make an element of 100% minimum height across a wide range of browsers ? In particular if you have a layout with a header and footer of fixed height how do you make the middle c…



php - Passing $_POST values with cURL

How do you pass $_POST values to a page using cURL ?…


javascript - How do I fire an event when a iframe has finished loading in jQuery?

I have to load a PDF within a page. Ideally I would like to have a loading animated gif which is replaced once the PDF has loaded.…


Filter out HTML tags and resolve entities in python

Because regular expressions scare me, I'm trying to find a way to remove all HTML tags and resolve HTML entities from a string in Python.…


What is the best way to send html/image email?

Do you attach the images? Use absolute urls? How do you best avoid getting flagged as spam?…




request html how get post example json with response from