• 0

Image usage in RevSlider


Question

Posted · Report post

I'm using this in RevSlider...but I want to add an image as well.  I've added the image source between h2 tags like 

<h2 class="slide-title"><img src="kjfas"></h2> and it works but is this the correct method?  I have tested for html errors but this seems like an odd way to handle.

 

 

 

<div class="caption sft"  data-x="center" data-y="100" data-speed="700" data-start="1700" data-easing="easeOutBack">

<h2 class="slide-title">KICKSTART YOUR WEBSITE</h2>

</div>

<div class="caption rvslide-opt2 lft"  data-x="center" data-y="142" data-speed="500" data-start="1900" data-easing="easeOutBack">

<h2 class="slide-title">WITH SLIDER REVOLUTION!</h2>

</div>

 

Share this post


Link to post
Share on other sites

2 answers to this question

  • 0

Posted · Report post

Hi,

Why the need to add an image between the H2 tags ? Why not just add the image after like so:

 

<h2>...</h2>

<img src="...">

 

If you want to know more about HTML, I suggest reading the W3C and W3Schools websites.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

That's what I was asking.  Since Rev Slider wraps everything in h2, I was just checking...Dude I use W3C and W3Schools all the time.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now