From 9140df2244e2f14c3c1e74c4dc49bb0076cbb146 Mon Sep 17 00:00:00 2001 From: jbranchaud Date: Fri, 25 Jan 2019 14:10:43 -0600 Subject: [PATCH] Add Render Text As Superscript as an HTML til --- README.md | 3 ++- html/render-text-as-superscript.md | 17 +++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 html/render-text-as-superscript.md diff --git a/README.md b/README.md index 44711f8..8d56555 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ smart people at [Hashrocket](http://hashrocket.com/). For a steady stream of TILs from a variety of rocketeers, checkout [til.hashrocket.com](https://til.hashrocket.com/). -_742 TILs and counting..._ +_743 TILs and counting..._ --- @@ -229,6 +229,7 @@ _742 TILs and counting..._ ### HTML +- [Render Text As Superscript](html/render-text-as-superscript.md) - [Submit A Form With A Button Outside The Form](html/submit-a-form-with-a-button-outside-the-form.md) ### Internet diff --git a/html/render-text-as-superscript.md b/html/render-text-as-superscript.md new file mode 100644 index 0000000..1069948 --- /dev/null +++ b/html/render-text-as-superscript.md @@ -0,0 +1,17 @@ +# Render Text As Superscript + +There is an [HTML +tag](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/sup) that +tells browser engines to render text as superscript -- like when you need an +exponent. + +``` +

Render this text as superscript!

+``` + +Here is what the above would look like: + +

Render this text as superscript!

+ +Check out this [codepen example](https://codepen.io/jbranchaud/pen/GzoyXe) +to play around with it.