From 038ca04f4d551f547894b71d337b822d66c8a2b5 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Mon, 2 Aug 2021 11:42:34 -0400 Subject: remove link 'title' attributes that's just the 'href' (pt-br, part 4) (#1844) --- .../web/javascript/reference/global_objects/string/small/index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'files/pt-br/web/javascript/reference/global_objects/string/small') diff --git a/files/pt-br/web/javascript/reference/global_objects/string/small/index.html b/files/pt-br/web/javascript/reference/global_objects/string/small/index.html index 356b49cb2c..dbec8f2227 100644 --- a/files/pt-br/web/javascript/reference/global_objects/string/small/index.html +++ b/files/pt-br/web/javascript/reference/global_objects/string/small/index.html @@ -13,7 +13,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/String/small ---
{{JSRef}} {{deprecated_header}}
-

O método small() cria um elemento HTML <small> que faz com que uma string seja exibida em uma fonte pequena.

+

O método small() cria um elemento HTML <small> que faz com que uma string seja exibida em uma fonte pequena.

Sintaxe

@@ -21,7 +21,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/String/small

Valor retornado

-

Uma string contendo um elemento HTML <small>.

+

Uma string contendo um elemento HTML <small>.

Descrição

@@ -40,7 +40,7 @@ console.log(worldString.big()); // <big>Olá, mundo</big> console.log(worldString.fontsize(7)); // <font size="7">Olá, mundo</fontsize> -

Com o objeto element.style você pode pegar o atributo de estilo do elemento e manipulá-lo de forma mais genérica, por exemplo:

+

Com o objeto element.style você pode pegar o atributo de estilo do elemento e manipulá-lo de forma mais genérica, por exemplo:

document.getElementById('#oIdDoElemento').style.fontSize = '0.7em';
 
-- cgit v1.2.3-54-g00ecf