HoangLiarPhuongLe / html_css_training

https://practice-one-smartweb.vercel.app
0 stars 0 forks source link

Questions Practice One #3

Open HoangLiarPhuongLe opened 1 year ago

HoangLiarPhuongLe commented 1 year ago
  1. We can use <h1> tag for the logo but most of the time isn't not because <h1> tag is used to organize information and orient users meanwhile the logo isn't not actually information, it's metadata about the site, not relevant information about the content of the page.
  2. If we do not use Abel Font and Montserrat Font according to the design, we will use Serif Font or Sans-serif Font.
  3. Distinguish files images .svg, .png, and (.jpg, .jpeg)
    • SVG Format: is an image format based on vector graphics, that can be scaled up without losing image quality, used for example for icons
    • PNG Format: is often used for images with transparency, charts, or images that require lossless compression, such as graph images, charts, or images with transparent backgrounds
    • JPG and JPEG format: is commonly used for photographs or images with rich colors, such as images captured from a camera. JPG and JPEG use a lossy compression algorithm to reduce file size, but it also slightly reduces image quality. So, the file size may be smaller compared to PNG format.
  4. Yes, we can use shorthand hex colors but we use it when each of the color channels is identical in an RRGGBB hex triplet, so we can substitute 6-character colors for 3-character colors ( shorthand hex colors). On the other hand, we can't use shorthand hex colors if the color channels isn't identical in an RRGGBB hex triplet.
phuongbuimai-agilityio commented 1 year ago
  1. Please find more reason here: https://www.fastcompany.com/3016894/should-your-tag-be-your-logo#:~:text=The%20first%20heading%20on%20your,organize%20information%20and%20orient%20users.
  2. That font is the default font of the browser
  3. You misunderstand my question. My question is "Can we use shorthand hex colors?" => Please read this link: https://www.websiteoptimization.com/speed/tweak/hex/