An Interest In:
Web News this Week
- April 19, 2024
- April 18, 2024
- April 17, 2024
- April 16, 2024
- April 15, 2024
- April 14, 2024
- April 13, 2024
May 21, 2021 04:12 am GMT
Original Link: https://dev.to/baenencalin/what-do-you-think-about-strongly-annotated-html-94o
What do you think about strongly-annotated HTML?
I want to know what you all think about strongly-annotated HTML?
Let me know!What is strongly-annotated HTML?
Strongly-annotated HTML is where you don't leave any optional attributes unset, even if they have a default value.
E.g.
<!DOCTYPE html><html lang="en-US" dir="ltr"> <head> <title>Hello!</title> <style language="css" type="text/css"> /* ... */ </style> <link href="./icon.png" type="image/png" rel="icon"/> <link language="css" href="./_.css" type="text/css" rel="stylesheet"/> </head> <body> <p>Hello World!</p> <img type="image/png" alt="An image of Katty." src="./katty.png"/> </body></html>
An example of non-annotated HTML:
<!DOCTYPE html><html lang="en"> <head> <title>Hello!</title> <style> /* ... */ </style> <link href="./icon.png" rel="icon"/> <link href="./_.css" rel="stylesheet"/> </head> <body> <p>Hello World!</p> <img alt="An image of Katty." src="./katty.png"/> </body></html>
Original Link: https://dev.to/baenencalin/what-do-you-think-about-strongly-annotated-html-94o
Share this article:
Tweet
View Full Article
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To