midterm ctec 2350 Flashcards
(29 cards)
- What is HTTP
Hypertext Transfer Protocol
what does HTTP do
It is used to access data on the WWW a protocol to govern the communication between client and server
what does WWW stand for
World Wide Web
Who created the WWW
Tim berners lee
- The name of the organization developing recommendations and prototype technologies related to the Web
World wide web consortium (W3C)
- What is web accessibility?
websites, tools, and technologies are designed and developed so that people with disabilities can use them
- How to design text-based hyperlinks?
a href=”url”>link text
- Where will the title element be displayed?
The TITLE element should occur in the HEAD of the document
how to create an ordered list
An ordered list created using the ol> element, and each list item starts with the li> element. Ordered lists are used when the order of the list’s items is important. /li>
how to create an unordered list
An unordered list created using the ul> element, and each list item starts with the li> element /li> ul>
- Heading levels
HTML defines six levels of headings. A heading element implies all the font changes, paragraph breaks before and after, and any white space necessary to render the heading H1 being the highest (or most important) level and H6 the least.
- What HTML elements appear in the head
element is a container for the following elements: , , meta> , link> , script> , and base>
What elements appear in the body section
The element contains all the contents of an HTML document, such as headings, paragraphs, images, hyperlinks, tables, lists, etc.
- Syntax structure of a CSS rule: selectors and declarations (property and value)
In CSS, a declaration is the key-value pair of a CSS property and its value. CSS declarations are used to set style properties and construct rules to apply to individual or groups of elements.
- How to configure text and background color in CSS?
body {background-color: lightgrey;} color: blue; h1 {letter-spacing: 3px;} p.small {line-height: 0.8;}
- How to configure different font properties in CSS?
.p1 {font-family: “Times New Roman”, Times, serif;}
- Difference between id and class selectors
The difference between an ID and a class is that an ID is only used to identify one single element in our HTML
- What are different types of CSS selectors, especially a descendant selector?
Simple selectors
Combinator selectors
Pseudo-class selectors
Pseudo-elements selectors
Attribute selectors
- What are and how to configure different CSS styles: inline
Internal or embedded CSS requires you to add tag in the section of your HTML document.
How to configure CSS style: Inline
Inline CSS is used to style a specific HTML element. For this CSS style, you’ll only need to add the style attribute to each HTML tag, without using selectors.
How to configure external CSS style: external
With external CSS, you’ll link your web pages to an external .css file, which can be created by any text editor in your device (e.g., Notepad++).
- What is image optimization?
Image optimization is the process of making images look perfect on desktop and mobile.
- What does “float” property do?
places an element on the left or right side of its container, allowing text and inline elements to wrap around it.
How to clear float
add the clear property to the element that needs to clear the float