Advanced Dreamweaver 8 - How to Remove a Tag
Video Transcript
So, let me just leave you with instructions for all the different ways. You can remove a tag if you ever want to get rid of one. If I highlight this, notice down here, P sidebar, I can right click here and just say remove tag. Now, when I did that, it took the P tag away. That is what I was warning you about. Sometimes when you remove a tag, you lose the P tag. If you just want the P tag, you can right click and choose paragraph and get the P tag back.
You can also remove tags by choosing CSS style none. So, if you right click, choose CSS style none, the tag style will also go away. And also note, you can delete styles themselves by just leaving them out of the styles panel but note that just because you delete a style from here, does not mean the application of that style will delete from over here.
So, in the page itself, you will have to remove the style. So, if delete sidebar head over here, then the formatting for the sidebar head will disappear, but if you notice that with my cursor in the sidebar head, I still have sidebar head applied to that within the HTML code. And this is an important little detail to watch because, if you ever create a new style called sidebar head and forget that you once applied sidebar head to this text, it will seemingly miraculously change that new style. So, if you delete a style that you have already applied on your page, make sure you also delete the application of that style. And remember to do that, just right click on this little tag selector and choose remove tag.
That covers most of the basics of CSS. I hope this has been a good review for those of you who already know something about cascading style sheets, and for those of you who did not, I hope this is giving you a good introduction and prepared you for the next lesson because we are about to go a lot deeper.
So, let me just leave you with instructions for all the different ways. You can remove a tag if you ever want to get rid of one. If I highlight this, notice down here, P sidebar, I can right click here and just say remove tag. Now, when I did...
click to read more