What HTML tag are you?
by Lucas Stahl
Posted on June 04, 2018
So many HTML tags to choose from
The unexpected interview question you hope to hear.
I recently listened to a podcast called Front End Happy Hour in which they discussed interviewing questions and the most fascinating one was:
If you were an HTML tag what would you be?
Let’s review all the different tags we have to choose from:
1. <A> Anchor
2. <B> Bold
3. <BIG> Large Type
4. <BLOCKQUOTE> Indented Block
5. <BR> Line Break
6. <CENTER> Center Page
7. <DEL> Deletion
8. <DIV> Block-level Elements
9. <EM> Emphasis
10. <FONT> Font Attributes
11. <HEAD> HTML Introduction
12. <H1 H2 ….> Headers
13. <HR> Horizontal Line
14. <I> Italics
15. <IMG> Image
16. <LI> List Item
17. <OL> Ordered List
18. <UL> Unordered List
19. <P> Paragraph
20. <S> Strike Through
21. <SMALL> Smaller Size Text
22. <SPAN> Inline Content
23. <STRONG> Bold
24. <SUB> Subscript
25. <SUP> Superscript
26. <TABLE> Table
27. <TD> Table Data Cell
28. <TH> Table Header Cell
29. <TITLE> Document Title
30. <TR> Table Row
31. <TT> Monospaced Type
32. <U> Underline Text
The most common answer amongst the panel in this podcast was <DIV> because it can be used in so many different ways. I think it makes a ton of sense considering a <DIV> tag is a necessity when coding and can wrap around pretty all other tags. However, I feel the <DIV> tag is comparable to “more wishes” when asked if you have 3 wishes what would they be. There is always that one person that want’s more wishes.
Overall, I think this is an excellent question and after much consideration I would go with <OL>. As someone that is extremely organized, I thought an ordered list would best describe me. I live by my reminders on my phone, they bring order to my personal and professional life. On any given day I average 15-20 reminders for a variety of lists. These lists vary from work projects, to birthday ideas for family and friends, to fantasy football and so on and so on. You know the expression you would feel naked without your phone, well, I feel that way about my lists. Without them, I’m lost, luckily, we live in a world where cloud computing allows me to store these lists and access them amongst many different devices. The cloud also gives me that safety net that even if I lost my device I would not lose my reminders list. Thank you, technology!
So that begs the question what tag would you be and why? Be specific because no one is going to give you more wishes.
Related Resources
I hope this was helpful and feel free to comment with suggestions or questions.
- Man of Stahl
tag
html
interview
Previous article