HTML not showing properly on webpage
-
I am making a profile pages for the writers of my site, and the HTML code is not showing my picture on my site. The page I am referring to is starrpassnews.com/thadd – at the bottom should be a Twitter icon which links to my twitter account. When I view the HTML code at http://www.w3schools.com/ and also in the preview it shows up, but when I view the live webpage it does not show up. Below is my HTML code.
<!DOCTYPE html>
<html>
<body></body>
</html>Thank You
The blog I need help with is: (visible only to logged in users)
-
Hi there,
The HTML you’ve pasted here are for an entire website, and can’t be used inside of an existing website (I know it does on w3schools, but that’s because they’re using an iframe to in effect run a complete website inside another website).
To add a Twitter icon with a link you only need to add the following code in your text widget:
<a href="https://twitter.com/username"> <img src='https://starpassnews.files.wordpress.com/2016/08/twittericon.png' alt='twitter icon' style='width:42px;height:42px;border:0'></a>By the way, whatever appears after “alt=’ ” should be a brief description of the image you’re using, in this case Twitter Icon. That is the text that will display should the image fail to load for someone, and is the text that will be read by screen readers for visually impaired visitors.
- The topic ‘HTML not showing properly on webpage’ is closed to new replies.