{"id":1276,"date":"2009-10-05T15:50:27","date_gmt":"2009-10-05T22:50:27","guid":{"rendered":"http:\/\/www.bhagwad.com\/blog\/?p=1276"},"modified":"2010-10-09T02:12:01","modified_gmt":"2010-10-08T20:42:01","slug":"inserting-html-tags-using-firefox-ubiquity","status":"publish","type":"post","link":"https:\/\/www.bhagwad.com\/blog\/2009\/technology\/inserting-html-tags-using-firefox-ubiquity.html\/","title":{"rendered":"Inserting HTML tags using Firefox Ubiquity"},"content":{"rendered":"<link rel=\"commands\" href=\"http:\/\/gist.github.com\/raw\/212252\/360fa9b7a0489d0b654007a408f7af5b3bc74492\/HTML%20Tag.js\" name=\"HTML Tag\" \/>\n<p style=\"text-align: justify;\">Have you ever gotten frustrated by the tedious process of wrapping HTML tags around plain text? I certainly have. So I wrote a Ubiquity command to do this. If you&#8217;re using Ubiquity, the &#8220;Subscribe&#8221; bar should have popped up by now. Subscribe to the command, and here&#8217;s how to use it.<\/p>\n<p style=\"text-align: justify;\">Say you have a sentence which you want to wrap in &#8220;em&#8221; tags. Select the sentence, call up the &#8220;HTML Insert&#8221; command and simply use &#8220;em&#8221; as the argument. Press enter and viola! Your sentence is now wrapped up in neat &#8220;&lt;em&gt;&lt;\/em&gt;&#8221; tags :) Here&#8217;s a screenshot:<\/p>\n<p style=\"text-align: justify;\">\n<figure id=\"attachment_1278\" aria-describedby=\"caption-attachment-1278\" style=\"width: 478px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1278 \" title=\"HTML Tag Insert\" src=\"http:\/\/www.bhagwad.com\/blog\/wp-content\/uploads\/2009\/10\/HTML-Tag-Insert.jpg\" alt=\"HTML Tag Insert\" width=\"488\" height=\"217\" srcset=\"https:\/\/www.bhagwad.com\/blog\/wp-content\/uploads\/2009\/10\/HTML-Tag-Insert.jpg 813w, https:\/\/www.bhagwad.com\/blog\/wp-content\/uploads\/2009\/10\/HTML-Tag-Insert-300x133.jpg 300w\" sizes=\"auto, (max-width: 488px) 100vw, 488px\" \/><figcaption id=\"caption-attachment-1278\" class=\"wp-caption-text\">HTML Tag Insert<\/figcaption><\/figure>\n<p style=\"text-align: justify;\">Another feature recently added is that if you want to insert a link with the &lt;a&gt; tag, you can do so by typing &#8220;HTML Tag a with <em>URL<\/em>&#8221; after selecting the anchor text. On execution, the selected text will be wrapped so: &lt;a href=&#8221;<em>URL<\/em>&#8220;&gt;<em>selected text<\/em>&lt;\/a&gt; .<\/p>\n<p style=\"text-align: justify;\">That&#8217;s all there is to it. Enjoy!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A Firefox Ubiquity command to insert HTML tags of the users choice around any selection<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[31,33,23],"tags":[6],"class_list":["post-1276","post","type-post","status-publish","format-standard","hentry","category-nr","category-sa","category-technology","tag-firefox-ubiquity"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Inserting HTML tags using Firefox Ubiquity<\/title>\n<meta name=\"description\" content=\"A Firefox Ubiquity command to insert HTML tags of the users choice around any selection\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.bhagwad.com\/blog\/2009\/technology\/inserting-html-tags-using-firefox-ubiquity.html\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Inserting HTML tags using Firefox Ubiquity\" \/>\n<meta property=\"og:description\" content=\"A Firefox Ubiquity command to insert HTML tags of the users choice around any selection\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.bhagwad.com\/blog\/2009\/technology\/inserting-html-tags-using-firefox-ubiquity.html\/\" \/>\n<meta property=\"og:site_name\" content=\"Expressions - Bhagwad Jal Park\" \/>\n<meta property=\"article:published_time\" content=\"2009-10-05T22:50:27+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2010-10-08T20:42:01+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/www.bhagwad.com\/blog\/wp-content\/uploads\/2009\/10\/HTML-Tag-Insert.jpg\" \/>\n<meta name=\"author\" content=\"bhagwad\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@bhagwad\" \/>\n<meta name=\"twitter:site\" content=\"@bhagwad\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"bhagwad\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/2009\\\/technology\\\/inserting-html-tags-using-firefox-ubiquity.html\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/2009\\\/technology\\\/inserting-html-tags-using-firefox-ubiquity.html\\\/\"},\"author\":{\"name\":\"bhagwad\",\"@id\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/#\\\/schema\\\/person\\\/06c9c710885b810f1dfe3779fc346b23\"},\"headline\":\"Inserting HTML tags using Firefox Ubiquity\",\"datePublished\":\"2009-10-05T22:50:27+00:00\",\"dateModified\":\"2010-10-08T20:42:01+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/2009\\\/technology\\\/inserting-html-tags-using-firefox-ubiquity.html\\\/\"},\"wordCount\":184,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/#\\\/schema\\\/person\\\/06c9c710885b810f1dfe3779fc346b23\"},\"image\":{\"@id\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/2009\\\/technology\\\/inserting-html-tags-using-firefox-ubiquity.html\\\/#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/www.bhagwad.com\\\/blog\\\/wp-content\\\/uploads\\\/2009\\\/10\\\/HTML-Tag-Insert.jpg\",\"keywords\":[\"Firefox Ubiquity\"],\"articleSection\":[\"NR\",\"SA\",\"Technology\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/2009\\\/technology\\\/inserting-html-tags-using-firefox-ubiquity.html\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/2009\\\/technology\\\/inserting-html-tags-using-firefox-ubiquity.html\\\/\",\"url\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/2009\\\/technology\\\/inserting-html-tags-using-firefox-ubiquity.html\\\/\",\"name\":\"Inserting HTML tags using Firefox Ubiquity\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/2009\\\/technology\\\/inserting-html-tags-using-firefox-ubiquity.html\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/2009\\\/technology\\\/inserting-html-tags-using-firefox-ubiquity.html\\\/#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/www.bhagwad.com\\\/blog\\\/wp-content\\\/uploads\\\/2009\\\/10\\\/HTML-Tag-Insert.jpg\",\"datePublished\":\"2009-10-05T22:50:27+00:00\",\"dateModified\":\"2010-10-08T20:42:01+00:00\",\"description\":\"A Firefox Ubiquity command to insert HTML tags of the users choice around any selection\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/2009\\\/technology\\\/inserting-html-tags-using-firefox-ubiquity.html\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/2009\\\/technology\\\/inserting-html-tags-using-firefox-ubiquity.html\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/2009\\\/technology\\\/inserting-html-tags-using-firefox-ubiquity.html\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/wp-content\\\/uploads\\\/2009\\\/10\\\/HTML-Tag-Insert.jpg\",\"contentUrl\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/wp-content\\\/uploads\\\/2009\\\/10\\\/HTML-Tag-Insert.jpg\",\"width\":\"813\",\"height\":\"361\",\"caption\":\"HTML Tag Insert\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/2009\\\/technology\\\/inserting-html-tags-using-firefox-ubiquity.html\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Inserting HTML tags using Firefox Ubiquity\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/\",\"name\":\"Expressions - Bhagwad Jal Park\",\"description\":\"My thoughts, haikus and freelance musings\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/#\\\/schema\\\/person\\\/06c9c710885b810f1dfe3779fc346b23\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/#\\\/schema\\\/person\\\/06c9c710885b810f1dfe3779fc346b23\",\"name\":\"bhagwad\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/wp-content\\\/litespeed\\\/avatar\\\/7940f38fc479ebe739ec963b542bf098.jpg?ver=1776875508\",\"url\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/wp-content\\\/litespeed\\\/avatar\\\/7940f38fc479ebe739ec963b542bf098.jpg?ver=1776875508\",\"contentUrl\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/wp-content\\\/litespeed\\\/avatar\\\/7940f38fc479ebe739ec963b542bf098.jpg?ver=1776875508\",\"caption\":\"bhagwad\"},\"logo\":{\"@id\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/wp-content\\\/litespeed\\\/avatar\\\/7940f38fc479ebe739ec963b542bf098.jpg?ver=1776875508\"},\"sameAs\":[\"http:\\\/\\\/www.bhagwad.com\\\/blog\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Inserting HTML tags using Firefox Ubiquity","description":"A Firefox Ubiquity command to insert HTML tags of the users choice around any selection","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.bhagwad.com\/blog\/2009\/technology\/inserting-html-tags-using-firefox-ubiquity.html\/","og_locale":"en_US","og_type":"article","og_title":"Inserting HTML tags using Firefox Ubiquity","og_description":"A Firefox Ubiquity command to insert HTML tags of the users choice around any selection","og_url":"https:\/\/www.bhagwad.com\/blog\/2009\/technology\/inserting-html-tags-using-firefox-ubiquity.html\/","og_site_name":"Expressions - Bhagwad Jal Park","article_published_time":"2009-10-05T22:50:27+00:00","article_modified_time":"2010-10-08T20:42:01+00:00","og_image":[{"url":"http:\/\/www.bhagwad.com\/blog\/wp-content\/uploads\/2009\/10\/HTML-Tag-Insert.jpg","type":"","width":"","height":""}],"author":"bhagwad","twitter_card":"summary_large_image","twitter_creator":"@bhagwad","twitter_site":"@bhagwad","twitter_misc":{"Written by":"bhagwad","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.bhagwad.com\/blog\/2009\/technology\/inserting-html-tags-using-firefox-ubiquity.html\/#article","isPartOf":{"@id":"https:\/\/www.bhagwad.com\/blog\/2009\/technology\/inserting-html-tags-using-firefox-ubiquity.html\/"},"author":{"name":"bhagwad","@id":"https:\/\/www.bhagwad.com\/blog\/#\/schema\/person\/06c9c710885b810f1dfe3779fc346b23"},"headline":"Inserting HTML tags using Firefox Ubiquity","datePublished":"2009-10-05T22:50:27+00:00","dateModified":"2010-10-08T20:42:01+00:00","mainEntityOfPage":{"@id":"https:\/\/www.bhagwad.com\/blog\/2009\/technology\/inserting-html-tags-using-firefox-ubiquity.html\/"},"wordCount":184,"commentCount":1,"publisher":{"@id":"https:\/\/www.bhagwad.com\/blog\/#\/schema\/person\/06c9c710885b810f1dfe3779fc346b23"},"image":{"@id":"https:\/\/www.bhagwad.com\/blog\/2009\/technology\/inserting-html-tags-using-firefox-ubiquity.html\/#primaryimage"},"thumbnailUrl":"http:\/\/www.bhagwad.com\/blog\/wp-content\/uploads\/2009\/10\/HTML-Tag-Insert.jpg","keywords":["Firefox Ubiquity"],"articleSection":["NR","SA","Technology"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.bhagwad.com\/blog\/2009\/technology\/inserting-html-tags-using-firefox-ubiquity.html\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.bhagwad.com\/blog\/2009\/technology\/inserting-html-tags-using-firefox-ubiquity.html\/","url":"https:\/\/www.bhagwad.com\/blog\/2009\/technology\/inserting-html-tags-using-firefox-ubiquity.html\/","name":"Inserting HTML tags using Firefox Ubiquity","isPartOf":{"@id":"https:\/\/www.bhagwad.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.bhagwad.com\/blog\/2009\/technology\/inserting-html-tags-using-firefox-ubiquity.html\/#primaryimage"},"image":{"@id":"https:\/\/www.bhagwad.com\/blog\/2009\/technology\/inserting-html-tags-using-firefox-ubiquity.html\/#primaryimage"},"thumbnailUrl":"http:\/\/www.bhagwad.com\/blog\/wp-content\/uploads\/2009\/10\/HTML-Tag-Insert.jpg","datePublished":"2009-10-05T22:50:27+00:00","dateModified":"2010-10-08T20:42:01+00:00","description":"A Firefox Ubiquity command to insert HTML tags of the users choice around any selection","breadcrumb":{"@id":"https:\/\/www.bhagwad.com\/blog\/2009\/technology\/inserting-html-tags-using-firefox-ubiquity.html\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.bhagwad.com\/blog\/2009\/technology\/inserting-html-tags-using-firefox-ubiquity.html\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.bhagwad.com\/blog\/2009\/technology\/inserting-html-tags-using-firefox-ubiquity.html\/#primaryimage","url":"https:\/\/www.bhagwad.com\/blog\/wp-content\/uploads\/2009\/10\/HTML-Tag-Insert.jpg","contentUrl":"https:\/\/www.bhagwad.com\/blog\/wp-content\/uploads\/2009\/10\/HTML-Tag-Insert.jpg","width":"813","height":"361","caption":"HTML Tag Insert"},{"@type":"BreadcrumbList","@id":"https:\/\/www.bhagwad.com\/blog\/2009\/technology\/inserting-html-tags-using-firefox-ubiquity.html\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.bhagwad.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Inserting HTML tags using Firefox Ubiquity"}]},{"@type":"WebSite","@id":"https:\/\/www.bhagwad.com\/blog\/#website","url":"https:\/\/www.bhagwad.com\/blog\/","name":"Expressions - Bhagwad Jal Park","description":"My thoughts, haikus and freelance musings","publisher":{"@id":"https:\/\/www.bhagwad.com\/blog\/#\/schema\/person\/06c9c710885b810f1dfe3779fc346b23"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.bhagwad.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/www.bhagwad.com\/blog\/#\/schema\/person\/06c9c710885b810f1dfe3779fc346b23","name":"bhagwad","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.bhagwad.com\/blog\/wp-content\/litespeed\/avatar\/7940f38fc479ebe739ec963b542bf098.jpg?ver=1776875508","url":"https:\/\/www.bhagwad.com\/blog\/wp-content\/litespeed\/avatar\/7940f38fc479ebe739ec963b542bf098.jpg?ver=1776875508","contentUrl":"https:\/\/www.bhagwad.com\/blog\/wp-content\/litespeed\/avatar\/7940f38fc479ebe739ec963b542bf098.jpg?ver=1776875508","caption":"bhagwad"},"logo":{"@id":"https:\/\/www.bhagwad.com\/blog\/wp-content\/litespeed\/avatar\/7940f38fc479ebe739ec963b542bf098.jpg?ver=1776875508"},"sameAs":["http:\/\/www.bhagwad.com\/blog"]}]}},"_links":{"self":[{"href":"https:\/\/www.bhagwad.com\/blog\/wp-json\/wp\/v2\/posts\/1276","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bhagwad.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bhagwad.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bhagwad.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bhagwad.com\/blog\/wp-json\/wp\/v2\/comments?post=1276"}],"version-history":[{"count":0,"href":"https:\/\/www.bhagwad.com\/blog\/wp-json\/wp\/v2\/posts\/1276\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.bhagwad.com\/blog\/wp-json\/wp\/v2\/media?parent=1276"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bhagwad.com\/blog\/wp-json\/wp\/v2\/categories?post=1276"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bhagwad.com\/blog\/wp-json\/wp\/v2\/tags?post=1276"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}