Posts

How do you insert a comment in HTML?

 How do you insert a comment in HTML? Comments in HTML begins with “<!– “ and ends with “ –>”. For example: <!-- SAMPLE-->

What is HTML?

What is HTML? HTML is short for HyperText Markup Language and is the language of the World Wide Web. It is the standard text formatting language used for creating and displaying pages on the Web. HTML documents are made up of two things: the content and the tags that format it for proper display on pages.

What are some of the common lists that can be used when designing a page?

What are some of the common lists that can be used when designing a page? You can insert any or a combination of the following list types: – ordered list – unordered list – definition list – menu list – directory list Each of these list types makes use of a different tag set to compose

Do all HTML tags come in a pair?

Do all HTML tags come in a pair? No, there are single HTML tags that do not need a closing tag.  Examples are the <img> tag- image tag and <br> tags -break tag.

What are tags?

What are tags? Content is placed in between HTML tags in order to properly format it. It makes use of the less than symbol (<) and the greater than symbol (>). A slash symbol is also used as a closing tag. For example: <strong>sample</strong>

List out the new features of HTML5?

 List out the new features of HTML5? Some of the most interesting new features in HTML5: New Semantic Elements − These are like <header>, <footer>, and <section>. Forms 2.0 − Improvements to HTML web forms where new attributes have been introduced for <input> tag. Persistent Local Storage − To achieve without resorting to third-party plugins. WebSocket − A a next-generation bidirectional communication technology for web applications. Server-Sent Events − HTML5 introduces events which flow from a web server to the web browsers and they are called Server-Sent Events (SSE). Canvas − This supports a two-dimensional drawing surface that you can program with JavaScript. Audio & Video − You can embed audio or video on your web pages without resorting to third-party plugins. Geolocation − Now visitors can choose to share their physical location with your web application. Microdata − This lets you create your own vocabularies beyond HTML...

What is < !DOCTYPE>? Is it necessary to use in HTML5?

What is < !DOCTYPE>? Is it necessary to use in HTML5? The < !DOCTYPE> is an instruction to the web browser about what version of HTML the page is written in. AND The < !DOCTYPE> tag does not have an end tag and It is not case sensitive. The < !DOCTYPE> declaration must be the very first thing in HTML5 document, before the tag. As In HTML 4.01, all < ! DOCTYPE > declarations require a reference to a Document Type Definition (DTD), because HTML 4.01 was based on Standard Generalized Markup Language (SGML). Where as HTML5 is not based on SGML, and therefore does not require a reference to a Document Type Definition (DTD). The <!DOCTYPE html> declaration defines this document to be HTML5