HTML and CSS Midterm Review: Solved Exercises and Explanations, Exams of Computer Science

A comprehensive review of key html and css concepts, covering essential tags, attributes, and styling properties. It includes solved exercises and explanations, making it a valuable resource for students preparing for a midterm exam in web development. Topics such as defining html versions, creating hyperlinks, formatting text, structuring webpages, and applying css styles.

Typology: Exams

2024/2025

Available from 02/05/2025

Nursing-Is-My-Life
Nursing-Is-My-Life 🇺🇸

5

(1)

2.2K documents

1 / 3

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
HTML/CSS Midterm Review SOLVED
100%!.
<!DOCTYPE html> - ANSWERDefines the version of the HTML the page is written in
<a> - ANSWERA hyperlink
<b> - ANSWERMakes text bold
<body> - ANSWERContains the content that will appear on the webpage
<br> - ANSWERA single line break
<div> - ANSWERA section of a webpage that can be styled and moved
independently
<p> - ANSWERParagraph text
<strong> - ANSWERMakes text important and bold
<style> - ANSWERUsed to create a styling section in the <head> of the document
<title> - ANSWERCreates a title that will show in a web browser
<ul> - ANSWERAn unordered list. Bullet points
<em> - ANSWEREmphasizes text as important and makes it italicized
<h1> - <h6> - ANSWERHeading text, level 1 is the largest and level 6 is the smallest
<head> - ANSWERContains information about the webpage
<hr> - ANSWERHorizontal line break. Puts a line across the section of the webpage
<html> - ANSWERContains everything for the webpage
<i> - ANSWERItalicizes text
<img> - ANSWERInserts an image
<li> - ANSWERA list item. Used for both <ul> and <ol>
<link> - ANSWERCreates a relationship between a webpage and another document
(usually a stylesheet for CSS)
<ol> - ANSWERAn ordered list. Numbers, letters, Roman Numerals, etc
pf3

Partial preview of the text

Download HTML and CSS Midterm Review: Solved Exercises and Explanations and more Exams Computer Science in PDF only on Docsity!

HTML/CSS Midterm Review SOLVED

  • ANSWERDefines the version of the HTML the page is written in
  • ANSWERA hyperlink - ANSWERMakes text bold
  • ANSWERContains the content that will appear on the webpage
    - ANSWERA single line break
  • ANSWERA section of a webpage that can be styled and moved independently

- ANSWERParagraph text - ANSWERMakes text important and bold

alt - ANSWERSpecifies alternate text for an image if the image cannot be displayed height - ANSWERSets the height of an element like or href - ANSWERSpecifies the URL of the page the link goes to (where the user goes when they click the hyperlink) id - ANSWERUsed to name an element (usually DIVs) rel - ANSWERDefines the relationship between the document the is in and the document that is being linked to it position - ANSWERProperty that defines how an element will be position (you only learned absolute) right - ANSWERProperty that anchors an element to the right side of a page text-align - ANSWERProperty that specifies how text will be aligned top - ANSWERProperty that anchors an element to the top of a page src - ANSWERIdentifies the source of an image, its URL style - ANSWERSpecifies an inline style for an element width - ANSWERSets the width of an element like or background-color - ANSWERProperty that sets the color of the background of a webpage bottom - ANSWERProperty that anchors an element to the bottom of a page color - ANSWERProperty that sets the color of text font-size - ANSWERProperty that sets the size of the font left - ANSWERProperty that anchors an element to the left side of a page CSS - ANSWERCascading Style Sheet, the styling language for web design HTML - ANSWERHypertext Markup Language, the language used to put content on a webpage An HTML tag is colored red in Notepad++ - ANSWERThe tag immediately before it is missing the > at the end of it Text in Notepad++ is purple when it shouldn't be - ANSWERA " is not closed out