What you would do is set that image as the background of an element, lets say a container div and then type the content: Episode tumbnail, rating, etc in that div
So if the image is names barb.png with a Width of 735 pixels and a Height of 150 pixels and the naruto thumbnail is called narutoThumbnail.png and both the images are in a sub-directory called images.
This is some simple code:
<!Doctype HTML>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Naruto</title>
<style type="text/css">
.episode{
background:#000 url(images/barb.png) no-repeat;
width:735px;
height:150px;
}
</style>
</head>
<body>
<div class="episode" id="e190">
<img src="images/narutoThumbnail.png"/ style="float:left;">
<p style="margin-top:5px; color:#fff;">Watch This Episode!</p>
<div>
<p style="float:right; margin-right:15px; color:#fff; font-weight:800;">Naruto Shippuden Episode 190</p>
<br/>
<p style="float:right; margin-right:15px; margin-top:3px; color:#fff; font-weight:200;">
Naruto is assigned to a team led by jonin Hayama to patrol the north border of the Leaf Village. On of the teammates Kosuke, an old man who has been a genin for over fifty years, earning him the title "Eternal genin"....</p>
</div>
<p style="float:right; margin-top:35px; color:#fff;">Rating:5 Views:n/a Comments:n/a</p>
</div>
What I did is a series of multiple parts of CSS, which I think will be much easier to understand if you go through the CSS tutorials from W3 schools here
First I made a valid HTML document. Then inside the body of the document, I put a <div> tag, which is a tag to contain elements. This div is given the class episode and an id (indentification) of e190. This div is styled using some css in the head of the document.
In css, elements are styled by selectors. writing the tag, div, styles all div tags. Writing .something styles all elemetns with the class something. writing #thisthing stlyes all elements with the id thisthing. writing div.something styles only div tags with the class something and div#thisthing styles only div tags with the id this thing.
Since this div tag is of class episode, it has the width, height, and background of the bakc-ground image barb.png in the images folder (directory).
Inside the div tag are various elements, most <p> or paragraph tags, holding you content. The are styled using inline stlye, which is in the tag as this is <p style=“css styling goes here. Do not actually write css styling goes here”>Content</p> Then the content and then a closing tag
Then the HTML document closes.
That should be it. Again, this contains a lot of css and html concepts that I believe can be best learned wrather than explained.
Regards,
Team 1504