How can I insert a lightning bolt symbol for Google's AMP page format?

Connor Gurney picture Connor Gurney · Jun 27, 2017 · Viewed 11.6k times · Source

If you visit the Accelerated Mobile Pages HTML specification, you will see that the <html> tag has a lightning bolt before the closing bracket:

<html ⚡>

Is there a keyboard shortcut I can use or configure to insert this?

Answer

Shane1470 picture Shane1470 · Jun 27, 2017

While the docs said you could just use <html amp>, I'm assuming you asked this question cause you'd rather use the symbol. In that case, the easiest route would be to highlight and copy the symbol and then paste it into your code. The other option I know of is to use an Alt Code to type the symbol into your code. The alt code for the lightning symbol is Alt + 26A1 Hold alt and type the code into the number pad on your keyboard and it should work.