HTML

Pataasin ang iyong marka sa homework at exams ngayon gamit ang Quizwiz!

How do we comment in HTML?

<!- ->

What are <br> tags in HTML?

<br> tags are used to enter a new line into the HTML contents. These tags are generally used to separate two different lines of text between each other.

Write the basic structure of the HTML template

<html> <head> <title> </title> </head> <body> </body> </html>

Define iframe in HTML

<iframe> An iframe is used to display different document content inside the different document content in a rectangular region in the browser. When different document content is embedded into a current HTML content, then it is known as an inline iframe.

In how many ways can a heading be written in HTML

A heading is a block level element which is used to give a heading to the particular section or topic. A total of 6 types of headings can be written

What is a marquee?

A marquee allows you to put a scrolling text in a web page. To do this, place whatever text you want to appear scrolling within the <marquee> and </marquee> tags.

What is a tag?

An HTML document is a simple, plain text document, which you are able to open with any text editor on your computer. When you open one, you'll see the document is made up of tags, which are keywords surrounded by angled brackets, each of which describes an HTML element.

How can we create a hyperlink in HTML?

An anchor tag or <a> tag in HTML is used to create hyperlinks which create a path between two different HTML web pages. Hyperlinks can be displayed in three ways: Unvisited Link - These links are blue in color and underlined. Visited Link - These links are purple in color and underlined. Active Link - These links are red in color and underlined.

What is Anchor tag and how can you open an URL into a new tab when clicked

Anchor tag in HTML is used for linking between two sections or two different web pages or website templates. To open an url into a new tab in the browser upon a click, we need to add target attribute equal to _blank. <a href="#" target="_blank"></a>

what is a block element?

Are the blocks that take the full available width and always start from a new line. It will stretch itself to the full available width of the available container width. <div> <p> <img> <section>

article

Article tag defines an independent piece of the content of a document. <article> </article>

Explain about Canvas

Canvas is a pixel-based graphics and it is one of the new features of HTML5. It provides a space in the document where we can draw graphics by using JavaScript and it is resolution dependent, hence the quality will be affected when it's zoomed or resized.

Name some new features added to HTML5

DOCTYPE declaration - <!DOCTYPE html> section header footer article main figcaption

Explain new form elements in HTML5

Datalist - It's used as a list of options for input control. Keygen - This tag defines a key-pair generator (Private/Public) field. Output - It's used to show the result of a calculation.

What is an element?

Each part of a web page, such as a paragraph, an image, a link or anything else you can interact with, is an element. Each type of element has its own behavior - for example you can click on links, or type in text boxes.

figcaption

Figcaption tag defines the caption for the media element such as an image or video. <figcaption></figcaption>

footer

Footer tag defines the footer section of the document. A footer section always sticks at the bottom of the document. <footer></footer>

Differentiate between HTML and XHTML

HTML stands for Hypertext Markup Language, whereas XHTML stands for Extensible Markup Language. A static webpage is an html web page and dynamic web pages are XHTML. XHTML are more stricter than HTML. An XML application of HTML is defined as XHTML. All modern browsers support XHTML.

Describe HTML

HTMl is a markup language which is used to create website templates or webpages to present the content on the World wide web

header

Header tag defines the head section of the document. A header section always sticks at the top of the document. <header></header>

What does HTML stand for?

Hypertext Markup Language

What is Quirks mode in HTML5

If we do not include the <!DOCTYPE> element in our HTML page or Document, it will go to Quirks Mode. In this mode, the HTML element depends on the browser. Hence the content will be displayed according to the browser.

What is an inline element?

Inline elements are the elements that will only take the width that is required to fit into the container <span> <label> <a> <b>

Why are meta tags used in HTML?

Meta tags in html are used by the developer to tell the browser about the page description, author of the template, character set, keywords, etc are used for search engine optimization, to tell the search engine about the page contents.

Explain List elements in HTML

Ordered List- an ordered list or ol tag are the list which will list the items in an ordered way, numbered or alphabetically Unordered List- ul tag is the list which will list the items in an unordered way, bulleted or other format Definition List- dl tag arranges the items in the way in which they are arranged in the dictionary

Define Semantic elements in HTML

Semantic elements are HTML elements which represent its meaning to the browser p tag represents a paragraph, a tag represents anchor tag, form tag, table tag, article tag and many more are semantic elements in HTML. Whereas div tag, span tag, bold tag are not semantic elements.

Define attributes in HTML tag

The HTML tag contains a field inside their tag which is called attributes of that tag img src="#"> here in this tag src is img tag attributes. <input type=" text"> here in this tag type is input tag attributes.

main

The main tag defines the main section in the document which contains the main content of the document. <main></main>

What is one of your favorite features of HTML5?

Today's internet users expect to find multimedia content that includes film clips, music and animation. HTML5 provides a more stable environment for the latest multimedia files. My favorite thing about it is that I can add multimedia content to websites without worrying that the sites will crash or refuse to play the content.

Define forms in HTML

When we want to collect the user info whenever a user fills any form or provides any details when we want to save it into our database

Can we change inline elements into block-level elements?

Yes, we can change inline elements into block-level elements by adding display equal to block in its CSS tag. Writing it will change the inline elements into block elements and then inline elements will also take the full width of the container. Display:block;

section

section tag defines a section in the document, such as a header, footer, or in the sections of the document. It is used to define the structure of the doc <section> </section>


Kaugnay na mga set ng pag-aaral

Chapter 11-13 Review Finance & Valuation

View Set

Chapter 11: water and major minerals

View Set

ADN 120 Unit 2 Intracranial Regulation, Immunity, Inflammation, Infection, Reproduction and Sexuality

View Set

Analyzing Conflicting Information-Quiz- Level H

View Set

5.3 classification of investment

View Set