There are some new syntax have been introduced in HTML5:
- <article> – this tag defines an article, a user comment or a post, so an independent item of content
- <aside> – the aside tag marks content aside from the page content, which for example could be a lateral sidebar
- <header>, <footer> – you won’t need to manually name IDs for headers and footers, as now you have a pre-defined tag for them
- <nav> – the navigation can now be placed in the markup in between the nav tags, which will automatically make your lists act like navigation
- <section> – this is another important new syntax, as it can define any kind of sections in your document. It works pretty much like a div which separates different sections.
- <audio>, <video> – these two obviously mark sound or video content, which will now be easier to run by devices.
- <embed> – this new tag defines a container for interactive content (plugin) or external application
- <canvas> – the canvas tag is quite exciting, as it allows drawing graphics via scripting (mostly JavaScript, but some others can be employed as well)
Cascading Style Sheets (CSS)
CSS is style sheet language, it is the most common application ia to style the web pages written in HTML and XHTML. We can use CSS to create good looking websites with nice effects. By CSS we can control the text(like font, color, size, etc) and the layout like background, margins, etc of a website in one single file. By using external CSS we can save lot of time, we can link the external file to all HTML files and apply the text and layout rules to all HTML files at once.
No comments:
Post a Comment