-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhonors.txt
More file actions
32 lines (31 loc) · 756 Bytes
/
Copy pathhonors.txt
File metadata and controls
32 lines (31 loc) · 756 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
css selectors
-------------
univrersal-> *;
type->h1,p,div;
class->used for multiple tags;
specific->id
tag_name.class_name{
---
---
---
}
id->used for single tag only;
child-> ">";
descendant-> Nested -> used on div having 3paragrahs
adjacent->
attribute
query selector
--------
INTERNAL
hTml
+<style>
EXTERNAL
using external .css file and including it in html file
using link tag syntax: <link rel = "Relation between linked and linker file" href = ".css_filenam" type="type/css">;
INLINE
when we want to specify styles for certain places of a html file we use these inline functions.
-------
@import url("Sample.css")
this is used to import .css files from other sites using their urls
-------
javascript earlier version ecma script