Embed presentation
Download to read offline





























![CSS SelectorsThere are several selectors we can use to narrow our rules to very specific tags of our website.The main selectors are:● tag name: just the name of the tag○ p { ... } //affects to all <p> tags● dot (.): affects to tags with that class○ p.highlight { ... } //affects all <p> tags with class="highlight"● sharp character (#): specifies tags with that id○ p#intro { ... } //affects to the <p> tag with the id="intro"● two dots (:): behaviour states (mouse on top)○ p:hover { ... } //affects to <p> tags with the mouse over● brackets ([attr='value']): tags with the attribute attr with the value 'value'○ input[type="text"] {...} // affects to the input tags of the typetext](/image.pl?url=https%3a%2f%2fimage.slidesharecdn.com%2fintroductiontohtmlcssjavascript-241008082335-bb88d906%2f75%2fIntroduction-to-HTML-CSS-Javascript-pptx-30-2048.jpg&f=jpg&w=240)































This document serves as an introduction to web technologies, focusing on HTML, CSS, and JavaScript. It details the roles of each technology in creating user interfaces, outlining practical tools, basic syntax, important concepts like the Document Object Model (DOM), and effective coding practices. Additionally, it covers how to add interactivity through JavaScript and provides guidance on using CSS for visual styling and layout management.





























![CSS SelectorsThere are several selectors we can use to narrow our rules to very specific tags of our website.The main selectors are:● tag name: just the name of the tag○ p { ... } //affects to all <p> tags● dot (.): affects to tags with that class○ p.highlight { ... } //affects all <p> tags with class="highlight"● sharp character (#): specifies tags with that id○ p#intro { ... } //affects to the <p> tag with the id="intro"● two dots (:): behaviour states (mouse on top)○ p:hover { ... } //affects to <p> tags with the mouse over● brackets ([attr='value']): tags with the attribute attr with the value 'value'○ input[type="text"] {...} // affects to the input tags of the typetext](/image.pl?url=https%3a%2f%2fimage.slidesharecdn.com%2fintroductiontohtmlcssjavascript-241008082335-bb88d906%2f75%2fIntroduction-to-HTML-CSS-Javascript-pptx-30-2048.jpg&f=jpg&w=240)






























