This technique is similar to the hammer-attack but only the right hand fingers are involved in producing the sound as shown as shown in the next photograph.
Example 398 demonstrates this right hand tapping technique. With your index finger push the string firmly against the fretboard using enough force to produce a sustained sound.