what s the purpose of the CSS and what does CSS stand for ? |
what s the purpose of the CSS and what does CSS stand for ? |
deb1 |
Jun 11 2020, 01:47 AM
Post
#1
|
Advanced Member Group: Members Posts: 109 Joined: 7-May 20 Member No.: 27,330 |
please tell me what s the purpose of the CSS and what does CSS stand for ?
|
Christian J |
Jun 11 2020, 09:03 AM
Post
#2
|
. Group: WDG Moderators Posts: 9,630 Joined: 10-August 06 Member No.: 7 |
|
deb1 |
Jun 11 2020, 09:09 AM
Post
#3
|
Advanced Member Group: Members Posts: 109 Joined: 7-May 20 Member No.: 27,330 |
so basically CSS is related to html 5. The CSS is a style sheet to make the html 5 document more attractive like putting background color , text font size and plenty
more in the CSS and when that is done, then link t up to html 5 document ...... am i correct ? |
pandy |
Jun 11 2020, 01:48 PM
Post
#4
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,716 Joined: 9-August 06 Member No.: 6 |
Basically. But CSS has been around a while. HTML 5 is no requirement. Other flavours of HTML and XML can use CSS as well. And, I guess, potentially other markup languages.
|
deb1 |
Jun 11 2020, 02:34 PM
Post
#5
|
Advanced Member Group: Members Posts: 109 Joined: 7-May 20 Member No.: 27,330 |
Basically. But CSS has been around a while. HTML 5 is no requirement. Other flavours of HTML and XML can use CSS as well. And, I guess, potentially other markup languages. can you please explain what you mean by other flavours of HTML? are you trying to say that CSS can be used with other languages as well not just HTML ....correct ? Just wondering is BOOTSTRAP a part of html also ? what is the difference between html and bootstrap? |
pandy |
Jun 11 2020, 03:00 PM
Post
#6
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,716 Joined: 9-August 06 Member No.: 6 |
The 5 in HTML 5 is a version number. There have been many versions of HTML.
CSS 1 became a recommendation 1996, but could be (partly) used before that point. HTML3.2 became a recommendation 1997. Before that we had HTML3.0 that never really took off and was replaced by 3.2 before it became a recommendation. I'd say a few people probably used some CSS while writing HTML2.0. You could today too. Browsers don't care. Yes, CSS can be used with other languages than HTML and is sometimes used with XML. Bootstrap is a CSS and JS library. Library in this context means often huge collections of canned code that you can hook into in mysterious ways instead of writing your own. Libraries are supposed to make things easier, but judging from the questions posted here I'd say that's not always true. Also, people often use them to accomplish pretty basic things. Which means a large amount of code needs to be loaded but only a fraction of it is used. |
deb1 |
Jun 11 2020, 11:40 PM
Post
#7
|
Advanced Member Group: Members Posts: 109 Joined: 7-May 20 Member No.: 27,330 |
bootstrap files will be saved as ".html" ....correct?
|
deb1 |
Jun 11 2020, 11:45 PM
Post
#8
|
Advanced Member Group: Members Posts: 109 Joined: 7-May 20 Member No.: 27,330 |
The 5 in HTML 5 is a version number. There have been many versions of HTML. CSS 1 became a recommendation 1996, but could be (partly) used before that point. HTML3.2 became a recommendation 1997. Before that we had HTML3.0 that never really took off and was replaced by 3.2 before it became a recommendation. I'd say a few people probably used some CSS while writing HTML2.0. You could today too. Browsers don't care. Yes, CSS can be used with other languages than HTML and is sometimes used with XML. Bootstrap is a CSS and JS library. Library in this context means often huge collections of canned code that you can hook into in mysterious ways instead of writing your own. Libraries are supposed to make things easier, but judging from the questions posted here I'd say that's not always true. Also, people often use them to accomplish pretty basic things. Which means a large amount of code needs to be loaded but only a fraction of it is used. <!DOCTYPE html> <html lang="en"> <head> <title>Bootstrap Example</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js"></script> </head> <body> <div class="container"> <h2>Basic Progress Bar</h2> <p>To create a default progress bar, add a .progress class to a container element and add the progress-bar class to its child element. Use the CSS width property to set the width of the progress bar:</p> <div class="progress"> <div class="progress-bar" style="width:70%"></div> </div> </div> </body> </html> For this bootstrap coding above do i always need to include this lines in : <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js"></script> This post has been edited by pandy: Jun 12 2020, 04:19 AM |
pandy |
Jun 12 2020, 04:09 AM
Post
#9
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,716 Joined: 9-August 06 Member No.: 6 |
bootstrap files will be saved as ".html" ....correct? Some maybe. I've never used Bootstrap. But I think it's fair to assume JavaScript files will be saved as .js and CSS files as .css. I don't know what else it may contain. It sounds like you want to try Bootstrap. I wouldn't go there in a long time if I were you. |
pandy |
Jun 12 2020, 04:14 AM
Post
#10
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,716 Joined: 9-August 06 Member No.: 6 |
For this bootstrap coding above do i always need to include this lines in : <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js"></script> Ah, yes. You did want to use Bootstrap. I don't know if you always need to include just those files. It could depend on what you want to to. Or they could always be required. Read the documentation. I won't. I would advice you (again) to stay away from libraries for now. Continue the way you started and learn the basics before you start to add things you won't be able to control yet. |
deb1 |
Jun 12 2020, 07:48 AM
Post
#11
|
Advanced Member Group: Members Posts: 109 Joined: 7-May 20 Member No.: 27,330 |
so basically your saying i should learn the basic html and CSS first . and then after that i can start bootstrap ...correct?
|
pandy |
Jun 12 2020, 07:56 AM
Post
#12
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,716 Joined: 9-August 06 Member No.: 6 |
No. I would never advice someone to use libraries.
But in your case, yes, you should learn the basics before you even consider things like Bootstrap. I can't imagine you even know what you want to use it for at this point. You've probably just read it's the cat's meow and think you need it. Don't believe everything you read. If you don't want a heavy site that partly consists of code you don't understand or have control over, stay away. |
deb1 |
Jun 12 2020, 09:36 AM
Post
#13
|
Advanced Member Group: Members Posts: 109 Joined: 7-May 20 Member No.: 27,330 |
is it the same thing for java script ... or do i need to know that ?
|
pandy |
Jun 12 2020, 09:44 AM
Post
#14
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,716 Joined: 9-August 06 Member No.: 6 |
JavaScript is good to know. But learn HTML and CSS first.
Bootstrap and the like is JS. It's just that things like that consist of huge collection of scripts that you can sort of hook into to get things done. Sometimes libraries like that are used to accomplish something that only requires a few line of JS or maybe not need JS at all. |
deb1 |
Jun 12 2020, 10:10 AM
Post
#15
|
Advanced Member Group: Members Posts: 109 Joined: 7-May 20 Member No.: 27,330 |
i understand now. just wondering later on if have questions regarding bootstrap ...will you be able to help me with it ?
|
pandy |
Jun 12 2020, 10:24 AM
Post
#16
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,716 Joined: 9-August 06 Member No.: 6 |
Nope. I've never used it.
|
deb1 |
Jun 12 2020, 10:43 AM
Post
#17
|
Advanced Member Group: Members Posts: 109 Joined: 7-May 20 Member No.: 27,330 |
how about js and php?
|
pandy |
Jun 12 2020, 03:11 PM
Post
#18
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,716 Joined: 9-August 06 Member No.: 6 |
Some, but for example Christian is better at that.
|
Lo-Fi Version | Time is now: 28th March 2024 - 10:43 AM |