DIV CSS English Naming Convention_Basic Tutorial
div css english naming convention_basic tutorial
1. css id naming
外 套: wrap 主导航: mainnav 子导航: subnav 页 脚: footet 整个页面: content 页 眉: header 页 脚: footer 商 标: label 标 题: title 主导航: mainbav(globalnav) 顶导航: topnav 边导航: sidebar 左导航: leftsidebar 右导航: rightsidebar 旗 志: logo 标 语: banner 菜单内容1: menu1 content 菜单容量: menu container 子菜单: submenu 边导航图标:sidebaricon 注释: note 面包屑: breadcrumb(即页面所处位置导航提示) 容器: container 内容: content 搜索: search 登陆: login 功能区: shop(如购物车,收银台) 当前的 current
2. in addition, the comments available when editing the style sheet can be written like this:
<-- footer --> 内容区 <-- end footer -->
3. style file naming
主要的 master.css 布局,版面 layout.css 专栏 columns.css 文字 font.css 打印样式 print.css 主题 themes.css
the above is the content of div css english naming convention_basic tutorial. for more related content, please pay attention to the php chinese website (www.php.cn)!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



How to Optimize the Maintainability of Java Code: Experience and Advice In the software development process, writing code with good maintainability is crucial. Maintainability means that code can be easily understood, modified, and extended without causing unexpected problems or additional effort. For Java developers, how to optimize the maintainability of code is an important issue. This article will share some experiences and suggestions to help Java developers improve the maintainability of their code. Following standardized naming rules can make the code more readable.

Naming conventions in PHP: How to use PSR standards to name classes, methods and variables. In PHP development, naming conventions are a very important detail, which directly affects the readability and maintainability of the code. PSR (PHPStandardRecommendations) is a series of code specification standards jointly determined by the PHP development community, including some specific requirements for naming. This article will introduce how to use the PSR standard specification to name PHP classes, methods, and variables, and provide code examples for reference.

Naming Conventions and Best Practices for PHP Methods As a popular server-side scripting language, PHP is widely used to develop websites and web applications. In PHP development, methods (functions) are a very important part. Good naming conventions and best practices can improve the readability, maintainability and scalability of the code. This article will share some norms and best practices about PHP method naming, while providing specific code examples. Method naming convention 1. Use meaningful and descriptive names. The name of a method should accurately describe the method.

Commonly used variable naming methods and techniques in Python In programming, good variable naming is very important. A good variable name can make the code more readable and understandable, and improve the maintainability and scalability of the code. Poor variable naming can make code difficult to understand and modify. This article will introduce commonly used variable naming methods and techniques in Python, and provide specific code examples. Use meaningful variable names A good variable name should clearly convey the meaning of the variable so that others reading the code can easily understand its purpose.

Comparison of C++ function naming conventions: Hungarian notation and naming conventions. Hungarian notation indicates types through variable name prefixes, which enhances readability but is verbose; naming conventions use more concise names to improve readability. Hungarian notation enforces type checking, which improves maintainability but can be confusing; the naming convention is more flexible. Hungarian notation has better reusability but poorer naming convention.

As a very popular scripting language, PHP has powerful function library support. Its function naming conventions and rules have an important impact on development efficiency and code readability. This article will introduce the naming conventions and rules of PHP functions. 1. Naming style In PHP, function names need to strictly comply with naming specifications and rules. The specifications mainly include two aspects: naming style and naming rules. 1. Underline nomenclature Underline nomenclature is the most commonly used way to name PHP functions and is also an officially recommended way. Function names that follow this pattern

There are two styles of PHP function naming: CAMELCASE uses camel case naming for class methods, which is more compact and easier to read; snake_case uses underscore connectives for functions and global variables, which is clearer and more consistent with convention. Choosing a specification depends on personal preference and team agreement. Being consistent improves code readability and maintainability.

Function naming conventions and documentation comments in C++ complement each other and improve code readability. Naming conventions provide clear and consistent function names, while documentation comments supplement details such as their purpose, parameters, return values, and preconditions, ensuring that the code is easy to understand, maintain, and extend.
