📌Should use quotes!!! But using single or double quotes should according to the situation.
href
attribute of <a>
specifies the URL of the page the link goes tosrc
attribute of <img>
specifies the path to the image to be displayedwidth
and height
attributes of <img>
provide size information for imagesalt
attribute of <img>
provides an alternate text for an imagestyle
attribute is used to add styles to an element, such as color, font, size, and morelang
attribute of the <html>
tag declares the language of the Web page. This is meant to assist search engines and browsers. Country codes can also be added to the language code in the lang
attribute, such as <html lang="en-US">
(use ISO 639-1 Language Codes).title
attribute defines some extra information about an element. The value of the title attribute will be displayed as a tooltip when you mouse over the element.style
attribute for styling HTML elementsbackground-color
for background colorcolor
for text colorsfont-family
for text fontsfont-size
for text sizestext-align
for text alignment<b>
- Bold text<strong>
- Important text<i>
- Italic text<em>
- Emphasized text<mark>
- Marked text<small>
- Smaller text<del>
- Deleted text<ins>
- Inserted text<sub>
- Subscript text<sup>
- Superscript textHTML — Apr 16, 2022
Made with ❤ and at Earth.