The process is straightforward, and some websites will even produce the embed code for you. If you’re comfortable with HTML, you don’t need a plugin to place iframes in WordPress. The iframe above uses the following code. For example longdesc = "framedescription. For example, Facebook lets authors generate iframe code to embed posts on their websites. This attribute allows you to provide a link to another page containing a long description of the contents of the frame. For example scrolling = "no" means it should not have scroll bars. This takes values either "yes", "no" or "auto". You can also center the image by editing its height and width on the page. This will tell your page to center the iFrame. Within the code for that iFrame, type aligncenter. Open up your HTML editor and find the iFrame you’re looking to center. This attribute controls the appearance of the scrollbars that appear on the frame. Like creating an iFrame, it requires that you edit your HTML. This attribute allows you to specify the height of the space between the top and bottom of the frame's borders and its contents. This is used by screen readers to read out what the content of the iframe is. Tip: It is a good practice to always include a title attribute for the
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |