Embed presentation
Download as PDF, PPTX


























![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 type text](/image.pl?url=https%3a%2f%2fimage.slidesharecdn.com%2fintroductiontohtml-css-javascript-220731172959-9e3a2fbb%2f75%2fIntroduction-to-HTML-CSS-Javascript-pdf-27-2048.jpg&f=jpg&w=240)




























The document provides an introduction to HTML, CSS, and JavaScript for creating web technologies. It discusses how to set up a development environment with a text editor and browser. It explains the basic structure and syntax of HTML, CSS, and JavaScript, including how to select and style elements with CSS and manipulate the DOM with JavaScript. Key topics covered include HTML tags, the box model, CSS selectors, layout systems like grid, and retrieving/modifying elements with JavaScript. The document serves as a high-level overview of the main technologies used for front-end web development.


























![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 type text](/image.pl?url=https%3a%2f%2fimage.slidesharecdn.com%2fintroductiontohtml-css-javascript-220731172959-9e3a2fbb%2f75%2fIntroduction-to-HTML-CSS-Javascript-pdf-27-2048.jpg&f=jpg&w=240)



























