<img src="image.jpg"> Image </img>
Correct Code
<img src="image.jpg">
<a>
The HTML <a> tag defines a hyperlink. It has the following syntax:
<a href="url">link text</a>
All HTML tags come in pairs, opening and closing tag
False
There are some empty tags like <br> and <img>
From bigger to smaller text size
h5, h3, h1, h6, h2, h4
h1, h2, h3, h4, h5 and h6
How to recognize an HTML 5 site?
The code starts with <!DOCTYPEhtml>
<h1 style:font-color:red>
Color Red
<h1>
Correct code:
<h1 style="color:red";>
Color Red
</h1>
<td>
Defines a cell in a table, stand for Table Data
You can style HTML, using CSS, in 3 different places
True, inline, internal and external style
From bottom to top
<ul>, </li>, </p>, </ul>, <li>, <p>
</ul>, </li>, </p>, <p>, <li>, <ul>
What does HTML stand for?
<!DOCTYPE html>
<html>
</body>
<title>Code</title>
<link href="style.css" rel="stylesheet" type="text/css" />
<body>
<head>
<p style="font-color:LightGray;background-color:MediumSeaGreen;font:courier;">
Art is a wide range of human activities (or the products thereof) that involve creative imagination and an aim to express
</p>
<body
Correct code
<!DOCTYPE html>
<html>
<head>
<title>Code</title>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<p style="color:LightGray;background-color:MediumSeaGreen;font-family:courier;">
Art is a wide range of human activities (or the products thereof) that involve creative imagination and an aim to express
</body>
</html>
In HTML
<!---->
HTML Comment Tag
<th> shows text automatically in Bold
True
From bottom to top
<html>, <!DOCTYPEhtml>, <head>, <body>, </html>, </title>, <h1>, </body>, </h1>, <title>, </head>
</html>, </body>, </h1>, <h1>, <body>, </head>, </title>, <title>, <head>, <html>, <!DOCTYPEhtml>
What is the difference between relative and absolute URL's
Absolute URL: A full web address
https://assets.puzzlefactory.com/puzzle/254/191/original.jpg
Relative URL: A link to a page within the same website
pikachu.jpg
<div class=grid2>
<ul>
<li><a href="index.html">Home</a><li>
<ul><a href="about.html">About Us</a><li>
<li><a href="gallery.html">gallery</a><li>
<ul><a href="contact.html">Contact us</a><li>
</ol>
</div>
Correct Code:
<div class="grid2">
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="about.html">About Us</a></li>
<li><a href="gallery.html">gallery</a></li>
<li><a href="contact.html">Contact us</a></li>
</ul>
</div>
<li>, <ul>, <ol>
They are used to create lists, <li> stand for List Item, <ul> stand for Unordered List, <ol> stand for Ordered List
HEX color codes have 5 digits
False, they have 6 digits not including #
From smallest child to father
<table>, <tr>, <p>, <th>, <td>
<p>, <td>, <th>, <tr>, <table>
The 5 families of fonts we can use
Serif, Sans-Serif, Cursive/Script, Fantasy, Monotype
<body style="background: gradient(#AED170,#2DC5CC);">
<h2
style=color; #666b39: font-size;54px: text align: center; font family;verdana: border style: groove; border color: #2AD; border radius: 40px; border width: 9px; thickness: 100%; height: 50%>
Heading
</h2>
Correct code
<body style="background: linear-gradient(#AED170,#2DC5CC);">
<h2
style="color: #666b39; font-size:54px; text-align: center; font-family:verdana; border-style: groove; border-color: #2A476D; border-radius: 40px; border-width: 9px; width: 100%; height: 50%">
Heading
</h2>
<head>
The <head> element is a container for metadata (data about data) and is placed between the <html> tag and the <body> tag.
HTML metadata is data about the HTML document. Metadata is not displayed.
Metadata typically define the document title, character set, styles, scripts, and other meta information.
Double, Colored and Ridge are border styles
The values of the attribute border
Color, Thickness, Style
Thickness, Style, Color
All the types of color codes we can use in HTML/CSS
Color name, RGB, HSL(A), HEX