img.ex2
{
position:relative;
bottom:-100px;
}
</style>
</head>
<body>
<img class="ex1" src="image/logocss.gif" width="95" height="84" />
<h1>Это заголовок</h1>
<img class="ex2" src="image/logocss.gif" width="95" height="84" />
</body>
</html>