Tag: HTML
-
A handful of HTML and ASCII Symbol Codes
OTHER HTML & ASCII SYMBOL CODES: ↓ Down arrow ↓ ‾ Overline ‾ ← Left arrow ← → Right arrow → ↑ Up arrow ↑ ℠ Service Mark ℠ ℃ Celsius ℃ ℅ care of ℅ ℉ Farenheit ℉ № numero symbol – number sign № ℗ Sound Recording Copyright ℗ ℞ Prescription Take pharmaceutical…
-
Protocol-Less URLs?
Ok, I happened upon this recently, and it sort of blew my mind. Section 4.2 of RFC 3986 provides for fully qualified URLs that omit protocol (the HTTP or HTTPS) altogether. When a URL’s protocol is omitted, the browser defaults to the underlying document’s protocol. “Put simply, these “protocol-less” URLs allow a reference like this…
-
Disable the Submit Button at onclick
If you want to disable a submit button once it has been clicked, to prevent double clicking and/or double form submission. You can use the below code snipet, as the onclick value as seen in the snipet, to disable the button once clicked, update the button text to a notice for the end user, and…
-
Setting the To, CC, BCC, Subject & Body Fields Using Mailto: Links
I recently came across a scenario where I needed to have a mailto: link include additional details, and particularly an email address in the cc field. You can configure an HTML mailto: link to include a number of fields: Basic Mailto: Link To: CC: BCC: Subject: Body: The Mailto: Link The Mailto: Link is…