add src attribute support

add src attribute support