홈페이지 소스코드에서 종종 보이던 태그 이름 gnb , bg, desc 뜻?

박해인·2023년 3월 9일
0

가끔 홈페이지 소스코드 구경하다가 종종 보이던 태그 이름 gnb, bg..
뭔뜻일까 했는데 chat GPT한테 물어봤더니 알려줬다.
gnb = global navigation bar
bg = background
+++ 추가 +++
desc = description

me : hey do you know in gnb mean? in homepage code,,,

chat GPT : I'm not quite sure what you're asking about regarding "in gnb mean" and homepage code. Can you please provide more information or context so I can better understand your question and provide a helpful response?

me : umm. that is usually using in html classname

Chat GTP : I think you might be referring to the "GNB" class name in HTML. GNB stands for "Global Navigation Bar" and it's a common class name used in web development to style a navigation bar that appears on multiple pages throughout a website.
By using the GNB class name, developers can apply consistent styling to the navigation bar across different pages, making it easier for users to navigate the site and ensuring a cohesive look and feel. The specific styling applied to the GNB class can vary depending on the design of the website, but it typically includes things like font size, color, and positioning.

me : wow then how about bg in same context

Chat GPT : The term "bg" in HTML usually stands for "background". It's a common attribute used to specify the background color, image or other properties of an HTML element such as a div, section, or entire page. By setting the "bg" attribute with a specific color or image, web developers can control the visual appearance of the background of an element, making it easier to create a cohesive design for a website.
For example, you might use the "bg" attribute to specify a background image for the entire page or to set a specific background color for a section of the page. The specific usage and styling of the "bg" attribute can vary depending on the needs of the website and the design choices of the developer.

chat GPT 최고

profile
갓생살고싶어라

0개의 댓글