List of alt codes for Square Symbols
Symbol | Description | HTML Code |
---|---|---|
■ | Black Square | ■ |
□ | White Square | □ |
▢ | White Square With Rounded Corners | ▢ |
▣ | White Square Containing Black Small Square | ▣ |
How do you write 2 squared in HTML?
You can use ² html entity: 2² It will be displayed as "2²". You could use the <sup> tag which is used for superscripts.
How can I type symbol in HTML?
Special Characters in HTML: Instructions
- To add special characters in HTML, type an ampersand followed by a pound sign (&#) at the place within your HTML document where you want to add a special character.
- Type the number of the proper code for the character to add.
- Type a semicolon (;) to finish.