The HTML <p> element defines a paragraph.The paragraph tag places a blank line above and below the text.
Comments are parts of the code that are ignored by a browser. To explain and define section parts of a document to others who see the code, it's a good practice to add comments to your HTML code. Especially in complex documents. To increase the readability of the code and help others understand the code, then comments are very useful.
Texts and content placed between these
<! - ... -> tags are handled as a comment and will be completely ignored by the browser.
Single Comments in HTML
When the comment span over one line the comment should be placed in between the start tag
<!-- and the end tag
-->. All content that is placed between these tags will be treated as comments and will therefor be ignored by the browser.
Multiline Comments in HTML
It's possible to comment on several rows with the special start tag
<!-- - and the end tag
-->. The first tag is placed before the first line and the end tag is placed in the end of the last line. The following example illustrates it.
Debugging - Comment out Code
It can be very useful to be able to comment out you code during testing. It helps you when you try to find error in the code.
Comment out Script Code
If you use Java Script and VBScript in the HTML code, you can place the script code in correct HTML comments to make sure that also old browsers work properly.
Comment out Style Sheets
When using Cascading Style Sheet (CSS) in the HTML code, it is recommended that you type that code in real HTML comments to ensure that old browsers work properly.
BACK TO TOP
The HTML Inline Frame element,
<iframe>, embeds another HTML page into the current page. The
<iframe> can appear anywhere in an HTML document. The
<iframe> can have separate scrollbars and borders.
Or it can descripbe: what meaning or what role a specific
Use the HTML
class attribute to define the same style for one or many elements in your web page. All HTML elements with the same
class name attribute will get the same style and format.
It is difficult and time-consuming to specify the same style to many elements....
BACK TO TOP
Thanks to HTML5, web pages can now store data locally on the users browser, then you dont need to use HTTP cookies. Now content can be delivered faster and more securely. HTML5 has also made it easier to ensure consistency across all browsers. Since browsers have traditionally relied upon different plugins to play multimedia files, native support of video and audio allows developers to avoid compatibility issues. New attributes also allow for video controls including play, pause, and volume options.
HTML4 was the standard for about 15 years and many still use it, all browsers will continue to support it for a very long time. Likewise, older browsers can 'overlook' new HTML5 code while rendering content. Virtually all modern browsers support HTML5 specifications fairly well.
You can use HTML5test to run a test with your current browser to see what it scores in terms of HTML5 support.
BACK TO TOP
The NDC Conferences (Norwegian Developers Conference) are one of the world`s largest independent software conferences for .NET & Agile development. The conference covers everything you need to know within software development. The conferences are held each year in many places such as Oslo, Copenhagen, London, Sydney and Minnesota.
DeveloperWeek is one of the world’s largest developer conferences. Developer Week focus on new dev technologies, the conference have talks and workshops for newbies and experienced audience. You can attend on a Developer Week conference different places in Nothern America.
BACK TO TOP