Table of Contents
回复内容:
Home Web Front-end H5 Tutorial 《web全栈工程师的自我修养》这本书里说:不要在简历中出现Div+CSS,会减分!请教为什么这样说?

《web全栈工程师的自我修养》这本书里说:不要在简历中出现Div+CSS,会减分!请教为什么这样说?

Jun 07, 2016 am 08:42 AM

回复内容:

事实上,在目前国内的前端市场,简历上这样写并不一定会减分。

减不减分要看你碰到怎样的面试官,如果碰到我这种有强迫症的,很有可能减分。

这种说法兴起于我们极度落后的前端行业刚刚开始出现曙光的时期。在那之前,网页是由 及其属性拼凑出来的,各种可以影响样式的代码散落在 HTML 中,难以维护。

直到我们开始使用 CSS,才发现样式可以这样玩。而我们最喜欢使用的标签变成了
,它就像一张自由的白纸,可以随意涂写。它没有任何语义可言(正好当时我们不懂也不需要语义),而且显得非常新潮。

于是我们称呼这种技术为“DIV + CSS”,每当我们说出这个名字,感觉自己就像一位先驱者,仿佛脸上都透着专业的光芒。正如近年来我们发明的另一个名字——“H5”(这个更加平易近人,行外人都认识它)。

然而随着时间的推移、行业的发展,我们知道了 HTML 标签有很多种,并且具有各种语义,我们不应该疯狂地使用
,也不需要激进地摒弃
。我们也知道了 CSS 是一种语言,DIV 只是某个语言中微不足道的一部分,它们不应该被并列在一起。

所以这个时候再懵懵懂懂甚至沾沾自喜地使用“DIV + CSS”这样的字眼,会让人觉得你是不是闭关了好多年才出来找工作,或者干脆是一位穿越人士?毕竟只要你有一台设备一根网线,闭关修炼也应该无法隔绝你对世界的感知。

当然如果有幸遇到跟你同一类型的面试官(你会发现这并不罕见),那么第一段文字就能够适用了。 问题是,有些要求写着精通DIV+CSS。
不写DIV的话,遇到逗比HR只能呵呵了 因为这你写的太细了,可以更宏观一点,不然显得简历索然无味 用砖头砸钉子不是不行,但是你得知道你应该用榔头 (认真写科普)html5标准推行语义化,增加了许多语义化标签如header,main之类。div标签正如另一位答主所说是“一张白纸”,在曾经的老标准环境下曾作为一个能够自由发挥的标签备受青睐,使用div和css搭配进行页面布局当时是一种进步,但是在现代标准环境下div由于语意缺失作用范围日益受限,所谓“div+CSS”当然就成为了一种狭隘落伍的口号和思想。 语义化!!! 谢邀。其实就跟你去面设计师的时候,简历上写你会用美图秀秀一样 看了楼上的所有回复,正是我想要说的。 第一眼看吓的以为不能用div和css制作单页简历…后来想了想我理解错了。
个人觉得前端对js还有各种框架,库,语义化标签,预编译,浏览器兼容性,性能之类的比较有用,css一般UI会用得比较多,当然有些全栈也会了解一些,但是css这玩意靠经验比较多,所以如果说css这一项的话,各种边框折叠,包含块,格式化上下文,文本流之类的可能算是基础功,如果面试的时候随便给个css样式和div布局然后让你画出来渲染效果,这个都是比较考验的,所以如果面UI,我觉得写css会加分,写前端不一定会加分。
手机码(求赞 Div+CSS已经是很多年前的做法了。
而且这也是一种不严谨的表现吧(°ー°〃)

推荐采用HTML语义化标签,这样不仅利于SEO,而且结构明晰便于开发维护,即使在去掉样式或样式意外丢失时页面依旧有很清晰的结构,便于访客正常阅读。
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

How to run the h5 project How to run the h5 project Apr 06, 2025 pm 12:21 PM

Running the H5 project requires the following steps: installing necessary tools such as web server, Node.js, development tools, etc. Build a development environment, create project folders, initialize projects, and write code. Start the development server and run the command using the command line. Preview the project in your browser and enter the development server URL. Publish projects, optimize code, deploy projects, and set up web server configuration.

What exactly does H5 page production mean? What exactly does H5 page production mean? Apr 06, 2025 am 07:18 AM

H5 page production refers to the creation of cross-platform compatible web pages using technologies such as HTML5, CSS3 and JavaScript. Its core lies in the browser's parsing code, rendering structure, style and interactive functions. Common technologies include animation effects, responsive design, and data interaction. To avoid errors, developers should be debugged; performance optimization and best practices include image format optimization, request reduction and code specifications, etc. to improve loading speed and code quality.

How to make h5 click icon How to make h5 click icon Apr 06, 2025 pm 12:15 PM

The steps to create an H5 click icon include: preparing a square source image in the image editing software. Add interactivity in the H5 editor and set the click event. Create a hotspot that covers the entire icon. Set the action of click events, such as jumping to the page or triggering animation. Export H5 documents as HTML, CSS, and JavaScript files. Deploy the exported files to a website or other platform.

What is the H5 programming language? What is the H5 programming language? Apr 03, 2025 am 12:16 AM

H5 is not a standalone programming language, but a collection of HTML5, CSS3 and JavaScript for building modern web applications. 1. HTML5 defines the web page structure and content, and provides new tags and APIs. 2. CSS3 controls style and layout, and introduces new features such as animation. 3. JavaScript implements dynamic interaction and enhances functions through DOM operations and asynchronous requests.

How to make pop-up windows with h5 How to make pop-up windows with h5 Apr 06, 2025 pm 12:12 PM

H5 pop-up window creation steps: 1. Determine the triggering method (click, time, exit, scroll); 2. Design content (title, text, action button); 3. Set style (size, color, font, background); 4. Implement code (HTML, CSS, JavaScript); 5. Test and deployment.

What application scenarios are suitable for H5 page production What application scenarios are suitable for H5 page production Apr 05, 2025 pm 11:36 PM

H5 (HTML5) is suitable for lightweight applications, such as marketing campaign pages, product display pages and corporate promotion micro-websites. Its advantages lie in cross-platformity and rich interactivity, but its limitations lie in complex interactions and animations, local resource access and offline capabilities.

What Does H5 Refer To? Exploring the Context What Does H5 Refer To? Exploring the Context Apr 12, 2025 am 12:03 AM

H5referstoHTML5,apivotaltechnologyinwebdevelopment.1)HTML5introducesnewelementsandAPIsforrich,dynamicwebapplications.2)Itsupportsmultimediawithoutplugins,enhancinguserexperienceacrossdevices.3)SemanticelementsimprovecontentstructureandSEO.4)H5'srespo

Is H5 page production a front-end development? Is H5 page production a front-end development? Apr 05, 2025 pm 11:42 PM

Yes, H5 page production is an important implementation method for front-end development, involving core technologies such as HTML, CSS and JavaScript. Developers build dynamic and powerful H5 pages by cleverly combining these technologies, such as using the <canvas> tag to draw graphics or using JavaScript to control interaction behavior.

See all articles