Create a webpage that displays some famous quotes and declarations from well-known computer scientists. Add a CSS rule that makes all of the quotes have an italic font style, so they'll look more like quotes.
The tags used were:
This is a simple website with basic HTML elements like
<div> , <img> and <button>.
div Tag : The <div> tag defines a division or a section in an HTML document.
The <div> element is often used as a container for other HTML elements to style them with CSS
or to perform certain tasks with JavaScript.By default, browsers always place a line break before
and after the <div> element. However, this can be changed with CSS.
img Tag :The <img> tag defines an image in an HTML page. The <img> tag has two required
Attributes: src and alt. Images are not technically inserted into an HTML page, images are
linked to HTML pages. The <img> tag creates a holding space for the referenced image.To link an
image to another document, simply nest the <img> tag inside <a> tags.
button Tag : The <button> tag defines a clickable button.Inside a <button> element you can put
content, like text or images. This is the difference between this element and buttons created with the
<input> element.Always specify the type attribute for a <button> element. Different browsers use
different default types for the <button> element.
content, like text or images. This is the difference between this element and buttons created with the
<input> element.Always specify the type attribute for a <button> element. Different browsers use
different default types for the <button> element.
Screenshots:
Comments
Post a Comment