开发者

Display a flag using HTML

开发者 https://www.devze.com 2022-12-13 20:58 出处:网络
Back when I was being taught HTML I remember a tag that displayed a little red flag. I\'ve tried everything I can think of and can\'t find it anywhere. Was I smok开发者_JS百科ing something that day or

Back when I was being taught HTML I remember a tag that displayed a little red flag. I've tried everything I can think of and can't find it anywhere. Was I smok开发者_JS百科ing something that day or is there actually a tag for it?


You could in theory do this

<span style="color:red;">&#9873;</span>

but you'll need a Unicode font that supports the Black Flag character.


Maybe ⚐ but it's not a tag nor it's red.


There is no tag for it. See all HTML4 tags.

0

精彩评论

暂无评论...
验证码 换一张
取 消