In this first tutorial, i will show how to insert special characters within the title attribute of an anchor tag by the use of jQuery. I needed to do so a few weeks back in one of my projects and here comes the solution i came up with. This is a pretty special trick and you probably will not need it that soon, knowing that those characters can be inserted “by hand” directly into your html code. This deals with the idea that you cannot write it when coding the html, but rather have to insert it at some moment in the page by the use of jQuery. Hope that’s clear.

First of all, you will need to find the numeric entity for your character using a glyph table. There are tons out there ready to be used. Here is one on css-tricks.com. For example, we will be looking for the right angle quotation mark, better know as this: ». Using the table, we can see that its numeric value is ».
kingroot app

In the second step, we have to convert this code into a value that javascript/jQuery will actually understand. Use this little form to do so and here comes the javascript value: u00BB.

Fianlly it is just about inserting the character in the title attribute with something like this:

There might be other solutions but this is the one i found at the time. Hope it helps.

Extra tip: i frequently use copypastecharacter.com to quickly get some special characters i want to insert into some pages, emails and others.

Past Work

Soloteste

Design & development
Visit live site

Pousada Corsário

Design & development
Details Visit live site

Sydney Colombani

Design & development
Visit live site

Brecha

Development
Visit live site

Julia Queima

Design & development
Visit live site

Costa Brasilis

Design & Developement
Details

A3Interiores

Wp Development
Visit live site

ValorCafé e-commerce

Design
Details Visit live site

Oficina de Arquitetos

Development
Visit live site

Cani.tv

Development
Visit live site

Zee Champanheria

App design
Details

Rioow

Design & development
Details

ASBEA/RJ

Design & development
Details Visit live site

ValorCafé

Design & development
Details Visit live site

Livraria da Travessa

Design & development
Details Visit live site

Furafila

App design
Details

NETbureau

Design & development
Details Visit live site

About

So, i'm a developer from France currently living in Rio de Janeiro. I do code for the front-end side of the web with things like javascript, html, css, preprocessors, tasks runners, version control, frameworks, tdd, CI, Wordpress and others.

I do speak english, portuguese and french, read tons of books, love to play on a wake, bmx and snowboard and would like to travel to the Karakoram range, Tierra del Fuego and Mongolia.

I do appreciate you stopping by and admit i did abuse of the auxiliary verb do in this about.