Royal Highness (abbreviated HRH for His Royal Highness or Her Royal Highness) is a style used to address or refer to some members of royal families, usually princes and princesses but not normally monarchs or their spouses of equal rank to them (that is, not kings, queens regnant, or queens consort), who are usually styled Majesty. When used as a direct form of address, spoken or written, it takes the form "Your Royal Highness". When used as a third-person reference, it is gender-specific (His Royal Highness or Her Royal Highness, both abbreviated HRH) and, in plural, Their Royal Highnesses (TRH).
By the 17th century, all local rulers in Italy adopted the style Highness, that was once used by kings and emperors only. According to Denis Diderot's Encyclopédie, the style of Royal Highness was created on the insistence of Archduke Ferdinand of Austria, Cardinal-Infante of Spain, a younger son of King Philip III of Spain. The Archduke was travelling through Italy on his way to the Low Countries and, upon meeting Victor Amadeus I, Duke of Savoy, refused to address him as Highness unless the Duke addressed him as Royal Highness. Thus, the first use of the style Royal Highness was recorded in 1633. Gaston, Duke of Orléans, younger son of King Henry IV of France, encountered the style in Brussels and assumed it himself. His children later used the style, considering it their prerogative as grandchildren of France.
By the 18th century, Royal Highness had become the prevalent style for members of a continental reigning dynasty whose head bore the hereditary title of king or queen. The titles of family members of non-hereditary rulers (e.g., the Holy Roman Emperor, King of Poland, Princes of Moldavia and Wallachia—and even the kin of the Princes of Orange who held hereditary leadership though not monarchical position in much of the Netherlands, etc.) were less clear, varying until rendered moot in the 19th century. After dissolution of the Holy Roman Empire in 1806, several of Germany's prince-electors and other now sovereign rulers assumed the title of grand duke and with it, for themselves, their eldest sons and consorts, the style of Royal Highness (Baden, Hesse, Mecklenburg, Saxe-Weimar).
The vast majority of African royalty that make use of titles such as prince, chief and sheikh, eschew the attendant styles that one would ordinarily be accustomed to seeing or hearing in accompaniment. Even in the cases of the aforesaid titles, they usually only exist as courtesies and may or may not have been recognised by a reigning fons honorum. However, some traditional leaders and their family members use royal styles when acting in their official roles as representatives of sovereign or constituent states, distinguishing their status from others who may use or claim traditional titles.
For example, the Nigerian traditional rulers of the Yoruba are usually styled using the HRH The X of Y method, even though they are confusingly known as kings in English and not the princes that the HRH style usually suggests. The chiefly appellation Kabiyesi (lit. He (or She) whose words are beyond question) is likewise used as the equivalent of the HRH and other such styles by this class of royalty when rendering their full titles in the Yoruba language.
Furthermore, the wives of the king of the Zulu peoples, although all entitled to the title of queen, do not share their husband's style of Majesty but instead are each addressed as Royal Highness, with the possible exception of the Great Wife.
The title of Archduke or Archduchess of Austria was known to be complemented with the style of Royal Highness to all non-reigning of the members of the House of Habsburg and later the House of Habsburg-Lorraine. Even though the Habsburgs held the Imperial crown of the Holy Roman Empire, it was nominally an elective office that could not be hereditary transmitted, so the non-reigning family members took their style from them being members of the hereditary Royal family of Hungary, Croatia and Bohemia, etc. This changed when Francis I of Austria dissolved the Holy Roman Empire in 1806, as the Archduchy of Austria was elevated to an Empire in 1804, the members of the House of Habsburg-Lorraine abandoned the style of Royal Highness in favour of the style of Imperial and Royal Highness to reflect the creation of the Empire of Austria. At the Congress of Vienna in 1815, the Former Empress Marie Louise of France was restored to her Imperial and Royal Style and granted the title of Duchess of Parma, Piacenza and Guastalla, as well as being restored to her premarital title of Archduchess and Imperial Princess of Austria, Royal Princess of Hungary, Croatia and Bohemia.
The title of "Prince/Princess of the Netherlands" with the accompanying style of H.R.H. is or may be granted by law to the following classes of persons:
A separate title of "Prince/Princess of Orange-Nassau" may be granted by law to members of the Dutch royal house  or, as a personal and non-hereditary title to former members of the royal house within three months of loss of membership. A Prince/Princess of Orange-Nassau who is not also a Prince/Princess of the Netherlands is addressed as "His/Her Highness" without the predicate "royal". That is the case for example of the children of Princess Margriet, younger daughter of the late Queen Juliana.
Finally, members of the royal house or former members of the royal house within 3 months of loss of their membership may be also inducted by royal decree into the Dutch nobility  with a rank lower than prince/princess and, generally, the accompanying style of "His/Her Highborn Lord/Lady". That is the case for example of the children of the younger brother of King Willem-Alexander, Prince Constantijn, who were given the titles of "Count/Countess of Orange-Nassau" and the honorific predicate of "Jonkheer/Jonkvrouw van Amsberg", both hereditary in the male line.
In the British monarchy the style of Royal Highness is associated with the rank of prince or princess (although this has not always applied, the notable exception being Prince Philip, Duke of Edinburgh, who was given the style in 1947 but was not formally created a British prince until 1957). This is especially important when a prince has another title such as Duke (or a princess the title of Duchess) by which he or she would usually be addressed. For instance HRH The Duke of Connaught was a prince and a member of the royal family while His Grace The Duke of Devonshire and His Grace The Duke of Abercorn are non-royal dukes and are not members of the British Royal Family, but instead are members of the British nobility.
According to Letters Patent issued by King George V in 1917 the sons and daughters of sovereigns and the male-line grandchildren of sovereigns are entitled to the style. It is for this reason that the daughters of the Duke of York, Princess Beatrice and Princess Eugenie carry the HRH status, but the children of the Princess Royal, Peter Phillips and Zara Tindall do not. The children of the Earl of Wessex,at the request of the Earl and Countess of Wessex, are styled as those of a Earl, thus are Lady Louise and Lord Severn. Under his Letters Patent only the oldest son of the oldest living son of the Prince of Wales was also entitled to the style but not younger sons or daughters of the oldest living son of the Prince of Wales. Queen Elizabeth II changed this in 2012 prior to the birth of Prince George of Cambridge so that all the children of the oldest living son of the Prince of Wales would bear the style. This returned it to the format Queen Victoria had instituted in 1898. There is no mention of younger living sons of a Prince of Wales so if Prince Harry were to marry, be awarded a dukedom like his uncle and brother and have children while his grandmother still lives, they would simply be styled as the sons and daughters of a Duke and would not be entitled to the style Royal Highness. Once their grandfather Charles, Prince of Wales ascended to the throne, they would then, as male-line grandchildren of a sovereign, acquire the style His/Her Royal Highness.
During the Diamond Jubilee celebrations the Queen was referred to as Her Royal Highness, an incorrect form of address for the monarch, as the title Majesty, which the Queen holds, is above Royal Highness.
In the United Kingdom, letters patent dated 21 August 1996 stated that the wife of a member of the Royal Family loses the right to the style of HRH in the event of their divorce. It was for this reason that when the Prince and Princess of Wales divorced, she ceased to be Royal Highness, and was styled Diana, Princess of Wales (although permitted to use the courtesy title of "Lady" as the daughter of an Earl, she never reverted to its use as her courtesy title Princess of Wales was of higher rank).
Similarly, HRH The Duchess of York was restyled Sarah, Duchess of York after her divorce from HRH The Duke of York.
In contrast to some other European kingdoms, the kingdom of Denmark reserves the superior style of Royal Highness only to the children of the monarch and the children of the crown prince; other grandchildren of a Danish monarch enjoy the style of Highness, e.g. Princess Elisabeth of Denmark.
When Victoria, Crown Princess of Sweden married the commoner Olof Daniel Westling in 2010 the Swedish Royal Court announced that Westling would become "Prince Daniel" and "Duke of Västergötland", corresponding in form to the style used by previous Swedish princes of royal birth, including Victoria's younger brother Prince Carl Philip, Duke of Värmland, i.e. Prince + Given name + Duke of [Place]. Thus Westling was made a prince of Sweden and was granted the style Royal Highness, making him an official member of the Swedish Royal Family.
Princess Madeleine, Duchess of Hälsingland and Gästrikland married the commoner British-American banker Christopher O'Neill in 2013, but she did not adopt the surname O'Neill and instead remained without a surname, retaining the style of Royal Highness. Christopher O'Neill kept his own name, unlike his brother-in-law Prince Daniel (above). O'Neill was not granted royal status and has remained a private citizen, since he wished to retain his UK and US citizenships and his business. He declined Swedish citizenship and for that reason could not be a member of the Swedish Royal Family or Duke of Hälsingland and Gästrikland (his wife's titles). To remain Swedish royalty and have succession rights to the Swedish throne, the couple's children will have to be raised in Sweden and as Lutherans.
Three of the sisters of King Carl XVI Gustaf of Sweden were granted honorary titles of Princess (without nationality) when they married commoners but lost their Royal Highness, as did two of his uncles earlier in the 20th century.
Sons, daughters, patrilineal grandsons and granddaughters of Ibn Saud are referred to by the style "His/Her Royal Highness" (HRH), differing from those belonging to the cadet branches, who are called "His/Her Highness" (HH) and in addition to that a reigning king has the title of Custodian of the Two Holy Mosques.