0

Can someone help me out with a card syntax, this is my syntax but not working

card syntax in bootstrap and html

25th Jun 2021, 5:29 PM
Micheal Alfred
6 ответов
0
<!doctype html> <html> <head> <Link rel="stylesheet" href="bootstrap.min.css" type="text.css"> </head> <Body> <div class="card"> </div> <p> hy am a card </card> </body> </html> can someone correct me if am wrong.am calling the bootstrap in my director but it not working
25th Jun 2021, 5:37 PM
Micheal Alfred
0
I think your <p> is outside of the card div. <div class="card"><p>text</p></div> should work. And maybe your href to the bootstrap css is incorrect.
25th Jun 2021, 7:11 PM
Fu Foy
Fu Foy - avatar
0
Ok,may be I will give it a try
25th Jun 2021, 9:06 PM
Micheal Alfred
0
But how about for html
25th Jun 2021, 9:08 PM
Micheal Alfred
0
It not working
25th Jun 2021, 9:09 PM
Micheal Alfred
0
your link to bootstrap.min.css expect that this file is in same directory as your html file... that could not work in sololearn playground, and if you've dowloaded the css file, you must provide the right relative path (from the html file location)... for working in sololearn, or at any place, you better have to use an absolute cdn url such as: https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css also you may need to include the js script file(s)... recommended cdn url for bootstrap can be found here: https://www.bootstrapcdn.com
25th Jun 2021, 9:30 PM
visph
visph - avatar