profile-card-project index.html → The main HTML file.style.css → The CSS file for styling.profile.jpg → A profile picture image.<!DOCTYPE html> – Defines the document as an HTML5 document.
<html lang="en"> – The <html> tag is the root of the document, and lang=”en” specifies English as the document language.
<head> section stores metadata like the document title and links to stylesheets.
<meta charset="UTF-8"> – This defines UTF-8 encoding, ensuring the document supports special characters and symbols.
<meta name="viewport"> tag controls the layout and scaling of a webpage on mobile devices.
06. <title>Profile Card</title> – Sets the browser tab title.
Profile Card
07. <link rel="stylesheet" href="styles.css"> – Connects the styles.css file to style the profile card.
Profile Card
<body> – Contains all visible webpage content.
Profile Card
09. <div class="profile-card"> – A container that will hold the profile card content.
Profile Card
<img src="profile.jpg" alt="Profile Picture"> – The src="profile.jpg" – Specifies the source of the image file. alt="Profile Picture" – Provides alternative text that will be displayed if the image cannot be loaded.
Profile Card
<h2>Bornomala</h2> – The <h2> tag is used to display the name of the profile owner. It indicates that this text is a subheading.
Profile Card
Bornomala