Start learning with our library of video tutorials taught by experts. Get started
Viewed by members. in countries. members currently watching.
This course introduces web designers to the nuts and bolts of HTML (HyperText Markup Language), the programming language used to create web pages. Author Bill Weinman explains what HTML is, how it's structured, and presents the major tags and features of the language. Discover how to format text and lists, add images and flow text around them, link to other pages and sites, embed audio and video, and create HTML forms. Additional tutorials cover the new elements in HTML5, the latest version of HTML, and prepare you to start working with Cascading Style Sheets (CSS).
HTML provides a new inline element called mark for highlighting text. Let's make a working copy of text.html here in the Chap04 folder, in your exercise files. Let me name this text-working.html, and open it up in the text editor. We'll go ahead and open this up also in the browser, so we can see these side by side, and open this up, so you can see the whole thing. And we have just a little bit a Loren ipsum in a simple HTML file.
Now let's say that I want to highlight this text here, which in the browser is this text here. And all I need to do, here I'm going to put it on a line by itself, just to let this stand out, is put the tag around it like that, and we'll come over in the browser and hit Reload, and we see our text is now highlighted, just as if we have used a yellow highlighter on our screen, except we don't have to clean it off later. Of course, if you want to, you can install this with CSS, you can say style= or you can put this in a external style sheet, and then I'll come over here and hit Reload and we see it's now green.
If I want to, I can even make the text white for the green background, and now it's highlighted with white on green. So the new mark element is for highlighting text. This is distinct from the or , which are for emphasis. You can easily modify the presentation of this feature using CSS.
Find answers to the most frequently asked questions about HTML Essential Training.
Here are the FAQs that matched your search "":
Sorry, there are no matches for your search ""—to search again, type in another word or phrase and click search.
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.