Podcast
Questions and Answers
Os atributos HTML são sempre especificados na marca de fim.
Os atributos HTML são sempre especificados na marca de fim.
False (B)
Cada elemento em HTML pode ter um ID único associado a ele.
Cada elemento em HTML pode ter um ID único associado a ele.
True (A)
As classes em HTML são únicas e não podem ser reutilizadas em outros elementos.
As classes em HTML são únicas e não podem ser reutilizadas em outros elementos.
False (B)
O CSS permite separar a apresentação do conteúdo em documentos HTML.
O CSS permite separar a apresentação do conteúdo em documentos HTML.
Signup and view all the answers
Um atributo global em HTML pode ser utilizado em qualquer tag HTML.
Um atributo global em HTML pode ser utilizado em qualquer tag HTML.
Signup and view all the answers
A desvantagem de usar CSS em linha é que mistura conteúdo e estilo, reduzindo a legibilidade.
A desvantagem de usar CSS em linha é que mistura conteúdo e estilo, reduzindo a legibilidade.
Signup and view all the answers
O atributo alt na tag
é utilizado para fornecer um texto decorativo para a imagem.
O atributo alt na tag é utilizado para fornecer um texto decorativo para a imagem.
Signup and view all the answers
A tag HTML
é usada para conter o conteúdo principal do documento.
A tag HTML
é usada para conter o conteúdo principal do documento.Signup and view all the answers
Formulários em HTML permitem interações no lado do servidor apenas.
Formulários em HTML permitem interações no lado do servidor apenas.
Signup and view all the answers
JavaScript permite a adição de funcionalidades dinâmicas, como pop-ups e galerias de fotos.
JavaScript permite a adição de funcionalidades dinâmicas, como pop-ups e galerias de fotos.
Signup and view all the answers
A tag
define o conteúdo do rodapé de uma página.
A tag
Signup and view all the answers
As tags semânticas em HTML ajudam a tornar o código mais fácil de entender.
As tags semânticas em HTML ajudam a tornar o código mais fácil de entender.
Signup and view all the answers
O elemento <script> é utilizado para incorporar folhas de estilo CSS numa página HTML.
O elemento <script> é utilizado para incorporar folhas de estilo CSS numa página HTML.
Signup and view all the answers
A tag
A tag
Signup and view all the answers
A tag
A tag
Signup and view all the answers
O elemento é utilizado para vincular recursos externos, como folhas de estilo CSS.
O elemento é utilizado para vincular recursos externos, como folhas de estilo CSS.
Signup and view all the answers
O código 'color: #00ff00;' define a cor verde.
O código 'color: #00ff00;' define a cor verde.
Signup and view all the answers
O alinhamento do texto 'text-align: justify;' justifica o texto em um parágrafo.
O alinhamento do texto 'text-align: justify;' justifica o texto em um parágrafo.
Signup and view all the answers
A propriedade 'font-weight: bold;' faz com que a letra fique normal.
A propriedade 'font-weight: bold;' faz com que a letra fique normal.
Signup and view all the answers
O código 'text-shadow: 5px 5px 5px #FF0000;' aplica uma sombra vermelha ao texto.
O código 'text-shadow: 5px 5px 5px #FF0000;' aplica uma sombra vermelha ao texto.
Signup and view all the answers
A variável 'color: brown;' altera a cor do elemento com id 'item' para azul.
A variável 'color: brown;' altera a cor do elemento com id 'item' para azul.
Signup and view all the answers
O código 'p:hover { color: blue; }' muda a cor de todos os parágrafos para cinza quando o mouse passa por cima.
O código 'p:hover { color: blue; }' muda a cor de todos os parágrafos para cinza quando o mouse passa por cima.
Signup and view all the answers
A propriedade margin refere-se ao espaço criado ao redor do conteúdo do elemento.
A propriedade margin refere-se ao espaço criado ao redor do conteúdo do elemento.
Signup and view all the answers
O padding pode ser alterado individualmente usando as propriedades padding-top, padding-right, padding-bottom e padding-left.
O padding pode ser alterado individualmente usando as propriedades padding-top, padding-right, padding-bottom e padding-left.
Signup and view all the answers
A estrutura 'table' no HTML é utilizada para criar listas não ordenadas.
A estrutura 'table' no HTML é utilizada para criar listas não ordenadas.
Signup and view all the answers
A regra 'p:not(.excluir) { color: cyan; }' altera a cor de todos os parágrafos para azul, exceto os que possuem a classe 'excluir'.
A regra 'p:not(.excluir) { color: cyan; }' altera a cor de todos os parágrafos para azul, exceto os que possuem a classe 'excluir'.
Signup and view all the answers
A propriedade width define a largura da área de padding de um elemento.
A propriedade width define a largura da área de padding de um elemento.
Signup and view all the answers
No Box Model do CSS, um elemento HTML é estruturado em quatro componentes: content, padding, border e margin.
No Box Model do CSS, um elemento HTML é estruturado em quatro componentes: content, padding, border e margin.
Signup and view all the answers
Bootstrap é uma biblioteca paga para desenvolvimento web.
Bootstrap é uma biblioteca paga para desenvolvimento web.
Signup and view all the answers
As propriedades de padding podem ter valores como length, %, e inherit.
As propriedades de padding podem ter valores como length, %, e inherit.
Signup and view all the answers
Padding e margin têm a mesma função na estruturação de elementos no CSS.
Padding e margin têm a mesma função na estruturação de elementos no CSS.
Signup and view all the answers
Bootstrap inclui recursos apenas para tabelas e botões.
Bootstrap inclui recursos apenas para tabelas e botões.
Signup and view all the answers
Os elementos com posicionamento 'fixed' são movidos quando se faz scroll na página.
Os elementos com posicionamento 'fixed' são movidos quando se faz scroll na página.
Signup and view all the answers
Para centrar um elemento na página, é necessário ajustar suas margens para 'auto'.
Para centrar um elemento na página, é necessário ajustar suas margens para 'auto'.
Signup and view all the answers
O 'z-index' de um elemento define a profundidade do posicionamento em relação a outros elementos.
O 'z-index' de um elemento define a profundidade do posicionamento em relação a outros elementos.
Signup and view all the answers
O tipo de posicionamento 'absolute' se baseia no elemento pai que não seja 'static'.
O tipo de posicionamento 'absolute' se baseia no elemento pai que não seja 'static'.
Signup and view all the answers
O comando 'float: right' alinha um elemento à esquerda da página.
O comando 'float: right' alinha um elemento à esquerda da página.
Signup and view all the answers
Os elementos com 'display: inline' ocupam toda a largura disponível em seu contêiner.
Os elementos com 'display: inline' ocupam toda a largura disponível em seu contêiner.
Signup and view all the answers
O valor de 'margin: 100px 150px 100px 50px' define margens diferentes para todas as direções.
O valor de 'margin: 100px 150px 100px 50px' define margens diferentes para todas as direções.
Signup and view all the answers
Um elemento com 'position: relative' é posicionado em relação à janela do browser.
Um elemento com 'position: relative' é posicionado em relação à janela do browser.
Signup and view all the answers
O comando 'clear: both' é utilizado para cancelar flutuações de elementos à esquerda e à direita.
O comando 'clear: both' é utilizado para cancelar flutuações de elementos à esquerda e à direita.
Signup and view all the answers
O 'position: static' é o tipo de posicionamento padrão para todos os elementos.
O 'position: static' é o tipo de posicionamento padrão para todos os elementos.
Signup and view all the answers
O Bootstrap Container é usado para uma largura fluida em todos os dispositivos.
O Bootstrap Container é usado para uma largura fluida em todos os dispositivos.
Signup and view all the answers
O CSS Grid é um sistema que depende do Bootstrap para funcionar.
O CSS Grid é um sistema que depende do Bootstrap para funcionar.
Signup and view all the answers
JavaScript é utilizado apenas para validação de formulários.
JavaScript é utilizado apenas para validação de formulários.
Signup and view all the answers
A função 'getElementById' é utilizada para selecionar múltiplos elementos HTML ao mesmo tempo.
A função 'getElementById' é utilizada para selecionar múltiplos elementos HTML ao mesmo tempo.
Signup and view all the answers
A estrutura de decisão 'if..else' é uma das funcionalidades básicas do JavaScript.
A estrutura de decisão 'if..else' é uma das funcionalidades básicas do JavaScript.
Signup and view all the answers
A propriedade 'innerHTML' permite adicionar conteúdo ao elemento HTML associado.
A propriedade 'innerHTML' permite adicionar conteúdo ao elemento HTML associado.
Signup and view all the answers
O evento 'onUnload' ocorre quando o utilizador abre uma página.
O evento 'onUnload' ocorre quando o utilizador abre uma página.
Signup and view all the answers
A classe 'className' pode ser usada para remover uma classe de um elemento HTML.
A classe 'className' pode ser usada para remover uma classe de um elemento HTML.
Signup and view all the answers
Flashcards
Tag Head
Tag Head
É utilizada para conter informações relacionadas ao documento que não são mostradas, como título, metadados e links para arquivos externos.
Tag Body
Tag Body
É utilizada para conter o conteúdo principal do documento HTML, que é o que o usuário realmente vê na página.
Tag Title
Tag Title
Define o título da página que é exibido na aba do navegador.
Tag Meta
Tag Meta
Signup and view all the flashcards
Tag Link
Tag Link
Signup and view all the flashcards
Tag Style
Tag Style
Signup and view all the flashcards
Tag Script
Tag Script
Signup and view all the flashcards
Tag Header
Tag Header
Signup and view all the flashcards
Elementos HTML
Elementos HTML
Signup and view all the flashcards
Atributos HTML
Atributos HTML
Signup and view all the flashcards
IDs em HTML
IDs em HTML
Signup and view all the flashcards
Classes em HTML
Classes em HTML
Signup and view all the flashcards
CSS (Cascading Style Sheets)
CSS (Cascading Style Sheets)
Signup and view all the flashcards
Linguagem de Programação do Lado do Cliente
Linguagem de Programação do Lado do Cliente
Signup and view all the flashcards
Atributo 'alt' na tag 'img'
Atributo 'alt' na tag 'img'
Signup and view all the flashcards
Formulários em HTML
Formulários em HTML
Signup and view all the flashcards
Definir Cor do Texto
Definir Cor do Texto
Signup and view all the flashcards
Alinhar Texto
Alinhar Texto
Signup and view all the flashcards
Formatar a Letra
Formatar a Letra
Signup and view all the flashcards
Estilo da Fonte
Estilo da Fonte
Signup and view all the flashcards
Sombra do Texto
Sombra do Texto
Signup and view all the flashcards
Hiperligações
Hiperligações
Signup and view all the flashcards
Alterar cor dos elementos com classes
Alterar cor dos elementos com classes
Signup and view all the flashcards
Alterar cor dos elementos com IDs
Alterar cor dos elementos com IDs
Signup and view all the flashcards
Display
Display
Signup and view all the flashcards
Posicionamento
Posicionamento
Signup and view all the flashcards
Posicionamento Static
Posicionamento Static
Signup and view all the flashcards
Posicionamento Fixed
Posicionamento Fixed
Signup and view all the flashcards
Posicionamento Relative
Posicionamento Relative
Signup and view all the flashcards
Posicionamento Absolute
Posicionamento Absolute
Signup and view all the flashcards
Profundidade (z-index)
Profundidade (z-index)
Signup and view all the flashcards
Float
Float
Signup and view all the flashcards
Off Float (clear: both)
Off Float (clear: both)
Signup and view all the flashcards
Margens (margin)
Margens (margin)
Signup and view all the flashcards
Padding e Margin
Padding e Margin
Signup and view all the flashcards
Padding e Margin: Direções
Padding e Margin: Direções
Signup and view all the flashcards
Padding: Espaço Interno
Padding: Espaço Interno
Signup and view all the flashcards
Valores de Padding
Valores de Padding
Signup and view all the flashcards
Largura do Elemento e Padding
Largura do Elemento e Padding
Signup and view all the flashcards
Box Model no CSS
Box Model no CSS
Signup and view all the flashcards
Componentes do Box Model
Componentes do Box Model
Signup and view all the flashcards
Bootstrap: Framework de Design
Bootstrap: Framework de Design
Signup and view all the flashcards
Bootstrap Container
Bootstrap Container
Signup and view all the flashcards
Diferença entre container
e container-fluid
Diferença entre container
e container-fluid
Signup and view all the flashcards
CSS Grid
CSS Grid
Signup and view all the flashcards
Bootstrap
Bootstrap
Signup and view all the flashcards
Design Responsivo
Design Responsivo
Signup and view all the flashcards
JavaScript
JavaScript
Signup and view all the flashcards
Função em JavaScript
Função em JavaScript
Signup and view all the flashcards
DOM
DOM
Signup and view all the flashcards
Study Notes
Web Design vs Web Development
- Web Design focuses on website aesthetics.
- Web Development handles website creation and maintenance.
UI vs UX
- UI (User Interface) relates to the visual interface of a website or application.
- UI includes elements like buttons, images and toggles.
- UX (User Experience) encompasses the user's overall experience.
Website Project Considerations
- Define project goals.
- Maintain simplicity.
- Ensure consistency.
- Choose a cohesive color scheme.
- Optimize for fast loading speed.
- Facilitate easy navigation.
- Implement proper communication strategies.
- Establish backup procedures.
- Implement a privacy policy.
Client-Server Structure
- A network architecture model.
- Servers provide services/resources.
- Clients request services/resources from servers.
Web Programming: Front-End and Back-End
- Front-End (Client-Side):
- The user interface portion.
- Includes design, structure, and visible aspects (HTML, CSS, and JavaScript).
- Back-End (Server-Side):
- Handles business logic and database interactions.
- Uses languages like PHP, Python, Node.js, Ruby, and Java.
HTML, CSS, and JavaScript
-
HTML (HyperText Markup Language):
- Standard markup language for creating and structuring web content.
- Uses tags and attributes to define the structure and presentation of web pages.
-
CSS (Cascading Style Sheets):
- Styling language for web pages, controlling elements like colors, layouts, spacing, and animations.
-
JavaScript:
- Programming language for dynamic content, interactive media, image animations, and handling user interactions.
HTML Head and Body Tags
- Head Tag ():
- Contains metadata (e.g.
, , , <style>, <script>).
- Contains metadata (e.g.
- Body Tag ():
- Holds the visible content of a webpage (e.g. text, images, other elements).
Semantic Tags
- HTML tags with specific meanings, improving code structure and clarity (e.g.,
,
HTML Tags
<title>
: Defines the title displayed in the browser tab.<meta>
: Provides information about the document (e.g., description, author).<link>
: Defines link to external resources (e.g. CSS files, icons, fonts).<style>
: Defines internal CSS.<script>
: Specifies JavaScript code.<base>
: Defines a base URL for relative URLs in the page.
HTML Attributes
- Attributes provide additional information about HTML elements (e.g.,
src
for images).
Image Tag (
)
- Used to embed images in a web page, including alt text for accessibility.
Span Tag ()
- Used for styling parts of text.
IDs and Classes
- IDs uniquely identify elements.
- Classes can be applied to multiple elements for styling consistency.
CSS Background Properties
background-color
: Sets the background color.background-image
: Uses a background image.background-size
: Controls how background image scales.background-repeat
: Repeats background images.background-position
: Positions the background image.
Display Properties
display:inline
: Treats element like text.display:block
: Displays the element on a new line.
Positioning Properties
static
: Default positioning of elements.relative
: Positions element relative to its normal position.absolute
: Positions element relative to the nearest positioned ancestor (not static) or the initial containing block if no positioned ancestor is found.fixed
: Positions element relative to the viewport, which won't change when the page is scrolled.
Text Formatting
- Defines font styles, colors, alignments, and sizes to customize the text on a webpage.
HTML Lists
ordered list
(- ): Creates numbered lists.
unordered list
(- ): Creates bulleted lists.
description list
(- ): Creates definition lists.
Tables
- Used to arrange data in rows and columns within a webpage.
Padding and Margin
padding
: Space within element's border, but inside element.margin
: Space around element, outside element's border.
Bootstrap
- Popular front-end framework for faster web development with pre-designed components.
- Provides pre-built HTML, CSS, and JavaScript for styling and responsiveness
JavaScript
- Used for dynamic interactivity, validation, and responding to user events.
- DOM manipulation allows changes to the webpage elements dynamically.
Events
- JavaScript event handling for dynamic elements interaction (e.g., clicks, mouseovers)
Studying That Suits You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.
Related Documents
Description
Explore as diferenças entre design e desenvolvimento web, além de compreender os conceitos de UI e UX. O quiz também aborda considerações importantes para projetos de sites e a estrutura cliente-servidor. Teste seus conhecimentos sobre programação web e os aspectos front-end e back-end.