Ir ao contido

Uso

Como empregas o HTML.

Interoperabilidade dos navegadores

There are few things more frustrating than knowing a new browser API would solve your problem perfectly, but that you can't use it because of poor support.

Thankfully, with initiatives like Interop one can hope that the Popover API and Anchor Positioning soon join the ranks of the features we all use without giving it a second thought.

Cales das funcionalidades HTML existentes ou APIs non podes usar por culpa das diferencias entre navegadores ou falta de soporte?
(resposta libre)
[gl-ES] blocks.multiple
0%
20%
40%
60%
80%
100%
1

2

3

4

5

6

Safari issues

7

<select>

8

<input type="date">

9

10

Customized built-in elements

0%
20%
40%
60%
80%
100%
% dos enquisados

Funcionalidade limitada

While poor browser support is certainly a problem, even well-supported features can see lower usage if they are hard to customize to developer needs, or just plain hard to master.

Cales das funcionalidades HTML existentes ou APIs non podes usar por calquera outra razón (e por que)?
(resposta libre)
[gl-ES] blocks.multiple
0%
20%
40%
60%
80%
100%
1

<select>

2

<input type="date">

3

4

5

6

7

<select multiple>

8

9

Form inputs

10

Autocomplete

11

Dropdown menus

12

<input type="checkbox">

13

Outros

Answers matching “Outros” 260
0%
20%
40%
60%
80%
100%
% dos enquisados

Elementos que botas en falta

It might seem weird that omnipresent UI controls such as tabs or datatables still don't have a corresponding native HTML element.

But getting these complex behaviors right while accounting for all edge cases takes time, so for now all we can do is wait and hope these elements make their way to the browser one day.

Se tiveras que escoller 3 elementos para engadir a HTML, cales serían?
[gl-ES] blocks.multiple
0%
20%
40%
60%
80%
100%
1

Data table (que permita ordear, filtrar, etc.)

1,797
2

Pestañas (Tabs)

1,419
3

Switch / Toggle

1,113
4

Skeleton UI / Loading Placeholder

977
5

Menú contextual (pinchando con botón dereito)

953
6

Carrusel

917
7

Scroll infinito

844
8

Acordeón

563
9

Zoom para imaxes

438
10

Segmented Button

267
0%
20%
40%
60%
80%
100%
% dos enquisados

Balance HTML/CSS vs JavaScript/TypeScript

We still spend far more time writing JavaScript (or TypeScript) than anything else. While there's nothing wrong with that, the web platform as a whole's ongoing progress will hopefully help balance things out a bit in the near future.

Como divides o teu tempo entre escribir código HTML/CSS e JavaScript (or TypeScript)?
0%
20%
40%
60%
80%
100%
1

100% HTML/CSS

46
2

1

260
3

2

368
4

3

273
5

50%–50%

617
6

5

494
7

6

1,118
8

7

470
9

100% JS

33
0%
20%
40%
60%
80%
100%
% dos enquisados

While “classic” use cases like blogs or homepages still represent a sizable part of the modern web developer's workload, the largest chunk by far is now web apps – which in turn explains why the web platform has been adapting to this new state of things.

Para que empregas HTML?
[gl-ES] blocks.multiple
0%
20%
40%
60%
80%
100%
1

Aplicacións web

3,030
2

Blogs ou outros sitios con moito texto

2,047
3

Sitios de márketign e landing pages

1,700
4

Sistemas de deseño

1,390
5

Emails

1,038
6

Aplicacións de escritorio

767
7

Aplicacións de móbil

705
8

Documentos para imprimir

493
9

E-Commerce sites

10

🚫 Ningunha

10
11

Outros

92
0%
20%
40%
60%
80%
100%
% dos enquisados

Sector industrial

Programming & Technical Tools topped the rankings, which makes sense for a developer-focused survey.

It's also interesting to note that E-commerce came in third, as this is a sector that faces the double challenge of building highly performant sites that also need to feature complex user interactions.

En que sector(es) industriais traballas?
[gl-ES] blocks.multiple
0%
20%
40%
60%
80%
100%
1

Programación e ferramentas tecnolóxicas

1,162
2

Consultoría e servizos

838
3

Comercio electrónico e venda ao por menor

588
4

Educación

474
5

Finanzas

395
6

Ferramentas de marketing/ventas/análise

342
7

Entretemento

300
8

Novas, medios e blogs

281
9

Saúde

230
10

Goberno

225
0%
20%
40%
60%
80%
100%
% dos enquisados
💡
Está científicamente demostrado que compartir esta enquisa en Twitter, Facebook, ou por correo, mellora o rendemento programando en JavaScript nun 15%.

Recursos recomendados

Frontend Masters

Frontend Masters

Advance Your Skills with In-Depth, Modern Front-End Engineering Courses
Grazas aos nosos colaboradores por darnos o seu apoio! Saber máis.