New HTML5, features and benefits
The new version of the HTML language has brought many completely new features and has undeniable advantages over previous versions.
Added new tags to the language, which were missing earlier. The final version of the language was released in 2014, but HTML5 features were used even earlier. Web developers have been using working draft specifications that have not yet been officially released. And browser developers started supporting this technology even earlier, in the form of experimental functionality.
One of the advantages of HTML5 is that there is no longer any confusion with versions of the language, as was the case with version 4. Previously, you had to define the version of the language at the top of the page and stick to its specifics, all within one HTML4. Now it is enough just to specify a single doctype for all and use any language features. The syntax has changed slightly, which will make it easy to adapt to the new version of the language.
Needless to say, HTML5 is rich in development opportunities. For example, SVG graphics support has appeared, now you can make vector drawings directly on the site page. This will allow you to embed graphics that will always look sharp and blur-free when scaling. Today, many are replacing raster graphics with vector graphics in their web projects.
HTML5 has essentially supplanted the popular Flash , now video playback is possible using the video tag , and the audio tag was introduced to play music ... New functionality for working with multimedia elements has also become available.
The language has support for mathematical formulas and symbols, which can be very useful - MathML . New types of input data have become available for input fields: date / time, email, url, search, number, range, tel, color . This greatly simplifies the implementation of the desired functionality on the page, which was previously achieved using scripts and libraries.
new attributes have been added for some tags: for meta - charset , for script - async . There is also support for global attributes that can be applied to all elements, among them: id, tabindex, hidden, data- * (custom data attributes).
In the new version of the language, it is planned to exclude some tags: acronym, applet, basefont, big, center, dir, font, frame, frameset, isindex, noframes, strike, tt. Added new tags : article, aside, audio, canvas, command, datalist, details, embed, figcaption, figure, footer, header, hgroup, keygen, main, mark, meter, nav, output, progress , rp, rt, ruby, section, source, summary, time, video, wbr.
Among other things, HTML5 has a new API . The canvas element for drawing has appeared, it became possible to store relatively large data right in the browser. Support for Drag-and-drop technology, geolocation, microdata, writing to the site's settings file and some other features.
Thus, the new HTML5 has tremendous features and advantages over older versions, making it particularly attractive to all developers. But this is not all, new specifications of the language are also being prepared, which means there will be further improvements.
Latest articles
- 03.04.24IT / Уроки PHP Уроки простыми словами. Урок 3. Все операторы PHP с примерами, с выводом работы кода на экран.
- 02.04.24IT / Уроки PHP Уроки простыми словами. Урок 2. Типы данных в PHP с примерами.
- 02.04.24IT / Уроки PHP Уроки простыми словами. Урок 1. Коротко о языке веб-программирования PHP. Основы синтаксиса.
- 09.11.23IT / Database Errors when migrating from MySQL 5.6 to 5.7 and how to fix them - database dump import failed with an error or INSERT does not work. Disabling STRICT_TRANS_TABLES strict mode or using IGNORE
- 08.07.22IT / Misc Convert office files DOC, DOCX, DOCM, RTF to DOCX, DOCM, DOC, RTF, PDF, HTML, XML, TXT formats without loss and markup changes