MTA HTML & CSS Questions and Answers 100% Pass
html The container for all of the HMTL markup. head Contains the information about the webpage. Does not show in the webpages. title text to display on the browser tab. body The container for the content that will be displayed on the webpage. h1 The biggest heading. h2 A subheading - the second biggest. p The paragraph tag. b Bold text tag. em Italic or emphasized text - a relative element. u Underline text tag. a href=""A link to Google/a Hyperlinked text. The filename for the first webpage in a website. li/li A single bullet in a list.ul/ul A container for a bullet-point list. ol/ol A container for a numbered list. body {background-color: orange;} Makes the color of the page orange. h1 {color: orange;} Makes the main heading's font color orange. body {width: 1000px; margin: auto;} Centers the entire webpage. li:hover {background-color: orange;} Changes the background-color of a list item to orange when the mouse cursor is over it. p {text-shadow: 2px 2px orange;} Adds an orange drop-shadow to letters in a paragraph. pseudo-class Used to define a special state of an element. text-decoration: none; Used to get rid of an underline, overline, line-through, or a combination of lines to selected text. External Style Sheet A file containing only CSS syntax (no document content or elements) and should carry a MIME type of "text/css." Inline Style Sheet Allows you to apply a unique style to one HTML element at a time. Internal Style Sheet Used to add a unique style for a single document. font-style Specifies the font style for a p Selects all p elements where the parent is a div element. meta Provides metadata about the HTML document. link rel="stylesheet" type="text/css" href="" Used to link to external style sheets link Defines a link between a document and an external resource. noscript Defines an alternate content for users that have disabled scripts in their browser or have a browser that doesn't support script. hr Adds a horizontal line to a web page. CSS Visibility Property Specifies whether or not an element is visible. caption Defines a table caption. figcaption Defines a caption for a figure element. nav Defines a set of navigation links. section Defines sections in a document, such as chapters, headers, footers, or any other sections of the document. The POST Method Used to send data to a server to create/update a resource. (Calling this method's request repeatedly have side effects of creating the same resource multiple times.)
Document information
- Uploaded on
- May 8, 2024
- Number of pages
- 54
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers