<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
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 {
color;red:
background color;pink:
Correct code:
h1 {
color:red;
background-color:pink;
}
<div>
The <div> tag defines a division or a section in an HTML document.
The <div> tag is used as a container for HTML elements - which is then styled with CSS.
You can style HTML, using CSS, in 3 different places
True, inline, internal and external style
From smaller to bigger
Margin, Padding, Content, Border
Content, Padding, Border, Margin
How to call an id and a class from CSS style file?
id starts with #, class starts with . (period)
.container {
display: grid;
grid-template-columns: auto, auto, auto;
padding: 20px;
background-color: blue;
}
It's correct
In HTML
<!---->
HTML Comment Tag
There are 3 types of gradients
True
- Linear Gradients (goes down/up/left/right/diagonally)
- Radial Gradients (defined by their center)
- Conic Gradients (rotated around a center point)
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>
in CSS
/* */
CSS Comment
HEX color codes have 5 digits
False, they have 6 digits not including #
Organize from last to first:
Active, Link, Hover, Visited
Active, Hover, Visited, Link
The 5 families of fonts we can use
Serif, Sans-Serif, Cursive/Script, Fantasy, Monotype
<link rel="google-font" href="https://fonts.google.com/css?family=Sofia"></link>
Correct Code:
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Sofia">
grid-template-column: ;
The grid-template-columns property specifies the number (and the widths) of columns in a grid layout.
"em" and "rem" are measurement units in CSS
True
From smallest child to father
<table>, <tr>, <p>, <th>, <td>
<p>, <td>, <th>, <tr>, <table>
All the types of color codes we can use in HTML/CSS
Color name, RGB, HSL(A), HEX