Tagged pages

Found 14 articles tagged with HTML

Create XML/HTML with T-SQL
Generating XML/HTML output in SQL Server
Sending email from SQL is not a difficult to achieve, but generating rich HTML content might be. SQL Server itself is not built as a text processor, first approach would be to build HTML by simple concatenating the string elements. This approach will work, but over time it will become more and more difficult to maintain especially if you need to add layout elements over time. ... read more
Copy text value to clipboard using jQuery
Simple sample of using jQuery to copy value to clipboard
I recently needed to copy some value from the web UI to clients clipboard. Since this is not something you often need to use, I googled a little bit and found that this is easy to do with document.execCommand... read more
Reduce the number of request from the page by using base64 in CSS
Embedding images in CSS as base64 strings
One of the major things that affects your page performance is the number of requests made from your page. Any external resource included on the page page makes your page loads slower. Most commonly these are images... read more
Delayed execution in JavaScript
Thread sleep equivalent in JavaScript
Not very often, but from time to time you need to slow down your code. Most of the time the reason for that is that you need to test some long execution, mostly external source call... read more
Disabling browser UI effects from CSS
Removing browser added effects on the form elements in HTML
New version of browsers are bringing a lots of useful features, but among them there are some features that can actually ruin your UI concept. The following are just some of the most common ones and instructions how to disable them. Disable textarea rezise ... read more
Scraping website content using HtmlAgilityPack
Build you own website crawsler for extracting data from websites
HTML is a markup language same as XML, but still there are differences which make dealing with them a bit different. Basically HTML is a strict structure in terms of node sets and attribute sets, but in general more documents online are not exactly following the proper structure since browsers usually manage to deal with rendering out the document in UI... read more
Recognize links in text content with jQuery
Find and replace URLs with anchor tags inside the text
Very often when you are dealing with content from 3rd party like tweets from Twitter of Facebook posts and comments you might end up with some URL inside the content. On both Twitter or Facebook or any other social network, links inside text comments are replaces with anchor tags to those URLs. In order to keep the same user experience and make it more useful o your side where you are serving the content from the other party it is recommended that you do the same. ... read more
The ways of loading JavaScript files onto your page
Varios ways to load the script on the page and boos performances
Recently I was working on speeding up my website. As a reference I user Google PageSpeed Insights. There were few things, but among them was one that was that really poked my eyes... read more
Facebook Album Browser JQuery Plugin
Simple Facebook public albums browser plugin for JQuery
Reponsive jQuery plugin for browsing public albums of a Facebook account. Plugin is suitable for both desktop and mobile websites.... read more
Generating HTML structure string in C#
Clean and proper way to generate html string in C#
String hardcoding it the worst way to generate your HTML. It makes code non-maintainable and hard to read. Lately in June I wrote an article how to generate HTML string without hard coding the string and using concatenation or string format... read more