0
Can someone help me out with a card syntax, this is my syntax but not working
card syntax in bootstrap and html
6 Respuestas
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
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.
0
Ok,may be I will give it a try
0
But how about for html
0
It not working
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