HTML part 2 Flashcards
An ___ is an inline frame that allows us to embed another document within the current HTML document
iFrame
This tag creates a rectangular region at specified place within the HTML document
in which the browser can display an external document such as a map or another web page
iFrame
In HTML, the ____ is defined with the iframe tag
inline frame
iframe syntax
<iframe>
</iframe>
have been designed for specific for specific purposes, though they are displayed in a similar way as other basic tags like b, i, pre, tt
HTML Phrase tags
tag that lets us specify metadata, which is additional important information about a document, in a variety of ways
HTML <meta></meta> tags
can be used to include name/value pairs describing properties of the HTML document
meta elements
can be used to provide extra information
HTML <meta></meta> tag
Examples of adding meta tags
Specifying keywords
Document revision date
Page redirection
Setting author name
Document description
Setting cookies
Specifying character set
Document refreshing
is defined in the HTML code using the class “class” keyword and the styling is determined in CSS
HTML Class attributes
They allow you to apply the same styled to multiple elements without repeating code, promoting maintainability and cohesive design
HTML classes
is defined in the HTML code using the “id” keyword, and styling is determined in CSS
HTML id attribute
essential for managing events and changing the structure of documents
HTML id
frequently used to identify elements for JavaScript function
id
Difference between id and class
id attribute uniquely identifies single element on a page, making it useful for targeting with CSS and JavaScript, and it must be unique within the document. The class attribute, can be applied to multiple elements, allowing for grouping of elements that share common styles or behaviors