Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.
Well done!
You have completed (UPI) Chapter 1: Foundations of HTML and Web Development!
Instruction
CSS Layout: Centering and Positioning
In this CSS example, several styles control the layout of elements:
The width and margin settings in the body rule center the content and restrict the page width.
The float: left; property in the img rule positions the image to the left, enabling text to wrap around it.
Example HTML with CSS Applied
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href...