Buscar

Regarding referencing an external file through attributes such as 'href' and 'src' in HTML, it is necessary to correctly indicate the hierarchy of ...

Regarding referencing an external file through attributes such as 'href' and 'src' in HTML, it is necessary to correctly indicate the hierarchy of access and folders that external files are kept in. Considering the access and references of such files for the correct creation of a website, choose the correct alternative:


The value of the 'href' attribute and the 'src' attribute indicate a link to a .css, .js or, in some cases, .html file. These attributes can also be kept without a value.
To reference the index in the 'home' item of a website menu, simply indicate 'root/index.html' in the 'href' attribute.
While the 'src' attribute is integrated into the 'link' element, the 'href' attribute is integrated into the 'script' element.
The dot and slash ('./') allow you to access a subfolder, two dots and a slash ('../') allow you to navigate to a previous folder.
The value of the 'href' attribute and the 'src' attribute indicate a link to a .css, .js or, in some cases, .html file. These attributes can also be kept without a value.
To reference the index in the 'home' item of a website menu, in a different file from index.html, simply indicate 'root/index.html' in the 'href' attribute.
While the 'src' attribute is integrated into the 'script' element, the 'href' attribute is integrated into the 'link' element.
The dot and slash ('./') allow you to access a subfolder, two dots and a slash ('../') allow you to navigate to a previous folder.
The value of the 'href' attribute and the 'src' attribute indicate a link to a .css, .js or, in some cases, .html file. These attributes can also be kept without a value.
To reference the index in the 'home' item of a website menu, simply indicate 'index.html' in the 'href' attribute.
While the 'src' attribute is integrated into the 'link' element, the 'href' attribute is integrated into the 'script' element.
The dot and slash ('./') allow you to navigate to a previous folder, two dots and a slash ('../') allow you to access a subfolder.
The value of the 'href' attribute and the 'src' attribute indicate a link to a .css, .js or, in some cases, .html file. These attributes can also be kept without a value.
To reference the index in the 'home' item of a website menu, in a different file from index.html, simply indicate 'index.html' in the 'href' attribute.
While the 'src' attribute is integrated into the 'script' element, the 'href' attribute is integrated into the 'link' element.
The dot and slash ('./') allow you to navigate to a previous folder, two dots and a slash ('../') allow you to access a subfolder.
The value of the 'href' attribute and the 'src' attribute indicate a link to a .css, .js or, in some cases, .html file. These attributes can also be kept without a value.
To reference the index in the 'home' item of a website menu, simply indicate 'index.html' in the 'href' attribute.
While the 'src' attribute is integrated into the 'link' element, the 'href' attribute is integrated into the 'script' element.
The dot and slash ('./') allow you to access a subfolder, two dots and a slash ('../') allow you to navigate to a previous folder.

Essa pergunta também está no material:

Avaliação de Linguagem e Padrões Web
4 pág.

Linguagem de Programação para Web Universidade Estácio de SáUniversidade Estácio de Sá

💡 1 Resposta

User badge image

Ed Verified user icon

A alternativa correta é: "The dot and slash ('./') allow you to access a subfolder, two dots and a slash ('../') allow you to navigate to a previous folder."

0
Dislike0

✏️ Responder

SetasNegritoItálicoSublinhadoTachadoCitaçãoCódigoLista numeradaLista com marcadoresSubscritoSobrescritoDiminuir recuoAumentar recuoCor da fonteCor de fundoAlinhamentoLimparInserir linkImagemFórmula

Para escrever sua resposta aqui, entre ou crie uma conta

User badge image

Outros materiais