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-240807202323-0ec150a4%2f75%2fIntroduction-to-HTML-CSS-Javascript-pptx-30-2048.jpg&f=jpg&w=240)































The document provides an introduction to web technologies, focusing on HTML for structure, CSS for presentation, and JavaScript for interactivity. It describes the essential tools needed to start web development, including browsers and text editors, and explains the basic syntax, rules, and functions of HTML, CSS, and JavaScript. Key concepts covered include the structure of web documents, layout techniques, and the capabilities of JavaScript for creating dynamic web applications.





























![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-240807202323-0ec150a4%2f75%2fIntroduction-to-HTML-CSS-Javascript-pptx-30-2048.jpg&f=jpg&w=240)






























