Prácticas obsoletas que se deben evitar
Obsolete practices to avoid explica algunas cosas que ya no se deben hacer en las páginas web porque han quedado obsoletas o porque eran erróneas. El inicio del artículo lo deja bien claro:
Many people learned HTML, CSS, and JavaScript by viewing the source of pages and then copying and pasting them, without considering whether or not the original site was well implemented. This means that they have perpetuated coding practices that might have been necessary in the past, but are irrelevant now. This article tries to list older coding practices that over time have become unnecessary or bad practices.
Algunas de estas malas prácticas son:
- DOCTYPE.
- meta charset
- Etiquetas meta name que no existen (¡no existe copyright!).
- Los comentarios HTML dentro de script.
- Elementos que ya no se deben utilizar: font, basefont, b, i, u, acronym, tt, xmp, applet.
Deja un comentario